diff options
author | Dirk Mueller <dirk@dmllr.de> | 2013-07-09 22:00:39 +0200 |
---|---|---|
committer | Dirk Mueller <dirk@dmllr.de> | 2013-07-09 22:00:39 +0200 |
commit | 03e7902d3f84b1d1110f65a4fa58522322707bb7 (patch) | |
tree | ae28ad3b0664ae8cf09c95c310a86996b2d40c60 /keystone | |
parent | b556d8a6cad15b7dea0318c6164b10529969807d (diff) | |
download | keystone-03e7902d3f84b1d1110f65a4fa58522322707bb7.tar.gz keystone-03e7902d3f84b1d1110f65a4fa58522322707bb7.tar.xz keystone-03e7902d3f84b1d1110f65a4fa58522322707bb7.zip |
Python 3.x compatible use of print
Use print in a style that looks as a print
function to Python 3.x.
Change-Id: I3c7a4e7a1b9a519cc1c369a9ec6a1e3da1211394
Diffstat (limited to 'keystone')
-rw-r--r-- | keystone/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keystone/cli.py b/keystone/cli.py index 598bd409..21d2ad40 100644 --- a/keystone/cli.py +++ b/keystone/cli.py @@ -74,7 +74,7 @@ class DbVersion(BaseApp): @staticmethod def main(): - print migration.db_version() + print(migration.db_version()) class BaseCertificateSetup(BaseApp): @@ -180,7 +180,7 @@ class ExportLegacyCatalog(BaseApp): def main(): from keystone.common.sql import legacy migration = legacy.LegacyMigration(CONF.command.old_db) - print '\n'.join(migration.dump_catalog()) + print('\n'.join(migration.dump_catalog())) class ImportNovaAuth(BaseApp): |