1 class ConsoleUICallback:
2 """Meets the fb2contacts' authentication callback contract using
5 Copyright (c) Andrew Flegg <andrew@bleb.org> 2009.
6 Released under the Artistic Licence."""
8 # -----------------------------------------------------------------------
10 print 'Need authentication...'
12 # -----------------------------------------------------------------------
13 def block_for_auth(self):
14 print 'Press enter when logged in...'
17 # -----------------------------------------------------------------------
18 def progress(self, current, maximum):
19 print current, maximum