Fix up some log message grammar

Change-Id: I554c6e50268d64d22e18106ff15c37544d98a548
Drive-by: Drop some logging translation
This commit is contained in:
Tim Burke 2020-12-17 09:24:51 -08:00
parent 6e9e84a5c2
commit 69d6206db6
1 changed files with 2 additions and 2 deletions

View File

@ -419,12 +419,12 @@ class ObjectReplicator(Daemon):
if ret_val:
self.logger.error(
self._limit_rsync_log(
_('Bad rsync return code: %(ret)d <- %(args)s') %
'Bad rsync return code: %(ret)d <- %(args)s' %
{'args': str(args), 'ret': ret_val}))
else:
log_method = self.logger.info if results else self.logger.debug
log_method(
_("Successful rsync of %(src)s at %(dst)s (%(time).03f)"),
"Successful rsync of %(src)s to %(dst)s (%(time).03f)",
{'src': args[-2], 'dst': args[-1], 'time': total_time})
return ret_val