Merge "Add i18n translation to guestagent 4/5"
This commit is contained in:
commit
880c707dd8
@ -97,7 +97,7 @@ class InnoBackupExIncremental(InnoBackupEx):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
if not kwargs.get('lsn'):
|
||||
raise AttributeError('lsn attribute missing, bad parent?')
|
||||
raise AttributeError(_('lsn attribute missing, bad parent?'))
|
||||
super(InnoBackupExIncremental, self).__init__(*args, **kwargs)
|
||||
self.parent_location = kwargs.get('parent_location')
|
||||
self.parent_checksum = kwargs.get('parent_checksum')
|
||||
|
@ -253,7 +253,7 @@ class PostgresqlReplicationStreaming(base.Replication):
|
||||
|
||||
def _write_standby_recovery_file(self, service, snapshot,
|
||||
sslmode='prefer'):
|
||||
LOG.info("Snapshot data received:" + str(snapshot))
|
||||
LOG.info(_("Snapshot data received: %s") % str(snapshot))
|
||||
|
||||
logging_config = snapshot['log_position']
|
||||
conninfo_params = \
|
||||
|
Loading…
x
Reference in New Issue
Block a user