def recovery(): ''' Starts the recovery console ''' from setup.recovery import RecoveryConsole print(INFO + '%s : Starting recovery console ...' % current_time()) console = RecoveryConsole() try: console.cmdloop() except KeyboardInterrupt: print(INFO + "Have a nice day!")
def recovery(options, *args, **kwargs): ''' Starts the recovery console ''' from libs.ConfigManager import ConfigManager # Sets up logging from setup.recovery import RecoveryConsole print(INFO+'%s : Starting recovery console ...' % current_time()) console = RecoveryConsole() try: console.cmdloop() except KeyboardInterrupt: print(INFO + "Have a nice day!")
def recovery(options, *args, **kwargs): ''' Starts the recovery console ''' from libs.ConfigManager import ConfigManager # Sets up logging from setup.recovery import RecoveryConsole print(INFO + '%s : Starting recovery console ...' % current_time()) console = RecoveryConsole() try: console.cmdloop() except KeyboardInterrupt: print(INFO + "Have a nice day!")
def recovery(): """ Starts the recovery console """ from libs.ConfigManager import ConfigManager # Sets up logging from setup.recovery import RecoveryConsole print(INFO + "%s : Starting recovery console ... " % current_time()) console = RecoveryConsole() try: console.cmdloop() except KeyboardInterrupt: print(INFO + "Have a nice day!")