degal/command.py
changeset 120 55cb7fc9c8fb
parent 117 a2e4562deaab
child 144 97505a789003
equal deleted inserted replaced
119:e7855eefb4c7 120:55cb7fc9c8fb
    89         except KeyboardInterrupt :
    89         except KeyboardInterrupt :
    90             self.log_error("Interrupted")
    90             self.log_error("Interrupted")
    91 
    91 
    92         except :
    92         except :
    93             # dump traceback
    93             # dump traceback
       
    94             # XXX: skip all crap up to the actual function
    94             self.handle_error()
    95             self.handle_error()
    95 
    96 
    96     def log_msg (self, level, msg, *args, **kwargs) :
    97     def log_msg (self, level, msg, *args, **kwargs) :
    97         """
    98         """
    98             Output a log message with the given level
    99             Output a log message with the given level