Merge "Add i18n translation to guestagent 5/5"
This commit is contained in:
commit
523efe2314
|
@ -119,7 +119,7 @@ class PgBaseBackup(base.RestoreRunner):
|
|||
|
||||
def pre_restore(self):
|
||||
self.app.stop_db()
|
||||
LOG.info("Preparing WAL archive dir")
|
||||
LOG.info(_("Preparing WAL archive dir"))
|
||||
self.app.recreate_wal_archive_dir()
|
||||
datadir = self.app.pgsql_data_dir
|
||||
operating_system.remove(datadir, force=True, recursive=True,
|
||||
|
|
|
@ -173,7 +173,7 @@ class MySQLRestoreMixin(object):
|
|||
try:
|
||||
operating_system.remove(file_path, force=True, as_root=True)
|
||||
except Exception:
|
||||
LOG.exception("Could not remove file: '%s'" % file_path)
|
||||
LOG.exception(_("Could not remove file: '%s'") % file_path)
|
||||
|
||||
@classmethod
|
||||
def _is_non_zero_file(self, fp):
|
||||
|
|
Loading…
Reference in New Issue