summaryrefslogtreecommitdiffstats
path: root/keystone/cli.py
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-08-13 23:50:17 -0300
committerMorgan Fainberg <m@metacloud.com>2013-08-15 19:30:36 -0700
commitfa95c8bdc2e17b54ef6ff69e2e23b1faeb6a112a (patch)
treeb015016f55aea2c262f5d4cec06b662382c43961 /keystone/cli.py
parent7851a3cd62aa598c694bd51806f55ec26d3a54fe (diff)
downloadkeystone-fa95c8bdc2e17b54ef6ff69e2e23b1faeb6a112a.tar.gz
keystone-fa95c8bdc2e17b54ef6ff69e2e23b1faeb6a112a.tar.xz
keystone-fa95c8bdc2e17b54ef6ff69e2e23b1faeb6a112a.zip
Clean hacking errors in advance of hacking update
The next patch syncs with global requirements, including an update to hacking. These fixes align the codebase with those new rules. Change-Id: I16e5a4ffa877fb46d2fb28d881642185c801b628
Diffstat (limited to 'keystone/cli.py')
-rw-r--r--keystone/cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/keystone/cli.py b/keystone/cli.py
index 18c095ce..6575f2e9 100644
--- a/keystone/cli.py
+++ b/keystone/cli.py
@@ -79,7 +79,7 @@ class DbSync(BaseApp):
package = importutils.import_module(package_name)
repo_path = os.path.abspath(os.path.dirname(package.__file__))
except ImportError:
- print _("This extension does not provide migrations.")
+ print(_("This extension does not provide migrations."))
exit(0)
try:
# Register the repo with the version control API
@@ -115,7 +115,7 @@ class DbVersion(BaseApp):
repo_path = os.path.abspath(os.path.dirname(package.__file__))
print(migration.db_version(repo_path))
except ImportError:
- print _("This extension does not provide migrations.")
+ print(_("This extension does not provide migrations."))
exit(1)
else:
print(migration.db_version())