class ConsoleUICallback: """Meets the fb2contacts' authentication callback contract using the console. Copyright (c) Andrew Flegg 2009. Released under the Artistic Licence.""" # ----------------------------------------------------------------------- def need_auth(self): print 'Need authentication...' # ----------------------------------------------------------------------- def block_for_auth(self): print 'Press enter when logged in...' raw_input() # ----------------------------------------------------------------------- def progress(self, current, maximum): print current, maximum