示例#1
0
 def __call__(self, *args, **kwargs):
     if args and args[0] == 'push':
         abdt_logging.on_io_event(
             'git-push',
             '{}: {} {}'.format(
                 self._description, ' '.join(args), kwargs))
     return self._repo(*args, **kwargs)
 def _log(self, identifier, description):
     abdt_logging.on_io_event(identifier, '{}:{}'.format(
         self.describe(), description))