Merge "log return value before arguments when rsync error"

This commit is contained in:
Jenkins 2013-07-31 05:20:32 +00:00 committed by Gerrit Code Review
commit a11ecc35b7

View File

@ -112,7 +112,7 @@ class ObjectReplicator(Daemon):
else: else:
self.logger.error(result) self.logger.error(result)
if ret_val: if ret_val:
self.logger.error(_('Bad rsync return code: %(args)s -> %(ret)d'), self.logger.error(_('Bad rsync return code: %(ret)d <- %(args)s'),
{'args': str(args), 'ret': ret_val}) {'args': str(args), 'ret': ret_val})
elif results: elif results:
self.logger.info( self.logger.info(