From 03e7902d3f84b1d1110f65a4fa58522322707bb7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 9 Jul 2013 22:00:39 +0200 Subject: 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 --- keystone/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keystone') 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): -- cgit