From fa95c8bdc2e17b54ef6ff69e2e23b1faeb6a112a Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 13 Aug 2013 23:50:17 -0300 Subject: 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 --- keystone/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keystone/cli.py') 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()) -- cgit