From 7df52d105e7f02443f97cbb39b18f0c829368e15 Mon Sep 17 00:00:00 2001 From: Trevor McCasland Date: Mon, 5 Dec 2016 08:13:36 -0600 Subject: [PATCH] Add i18n translation to guestagent datastore 1/5 This is patch 1 of 5 that add i18n translation to the guestagent/datastore directory Custom hacking rules will be added later to enforce the style . Change-Id: Ic8664bf105d601909c6efa5cf73db6c27adaf42e Depends-On: I6fb2bdcc4b83457e08b24599fb4a297ef6ec6c14 --- trove/guestagent/datastore/experimental/couchbase/service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trove/guestagent/datastore/experimental/couchbase/service.py b/trove/guestagent/datastore/experimental/couchbase/service.py index 0ad3368cb4..be5cfaf89e 100644 --- a/trove/guestagent/datastore/experimental/couchbase/service.py +++ b/trove/guestagent/datastore/experimental/couchbase/service.py @@ -92,7 +92,7 @@ class CouchbaseApp(object): LOG.info(_('Couchbase Server initial setup finished.')) except exception.ProcessExecutionError: LOG.exception(_('Error performing initial Couchbase setup.')) - raise RuntimeError("Couchbase Server initial setup failed") + raise RuntimeError(_("Couchbase Server initial setup failed")) def _install_couchbase(self, packages): """ @@ -130,7 +130,7 @@ class CouchbaseApp(object): if self.status.is_running: LOG.error(_("Cannot start Couchbase with configuration changes. " "Couchbase state == %s.") % self.status) - raise RuntimeError("Couchbase is not stopped.") + raise RuntimeError(_("Couchbase is not stopped.")) self._write_config(config_contents) self.start_db(True)