Skip to content

Commit 8460190

Browse files
committed
Merge pull request django-cms#129 from danrjohnson/feature/python3
Fix print in migration.py for Python 3 compatibility
2 parents 073e80c + a0a2119 commit 8460190

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmsplugin_filer_utils/migration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ def rename_tables(db, table_mapping, reverse=False):
1212
table_names = connection.introspection.table_names()
1313
for source, destination in table_mapping:
1414
if source in table_names and destination in table_names:
15-
print u" WARNING: not renaming {0} to {1}, because both tables already exist.".format(source, destination)
15+
print(u" WARNING: not renaming {0} to {1}, because both tables already exist.".format(source, destination))
1616
elif source in table_names and destination not in table_names:
17-
print u" - renaming {0} to {1}".format(source, destination)
17+
print(u" - renaming {0} to {1}".format(source, destination))
1818
db.rename_table(source, destination)
1919

2020

0 commit comments

Comments
 (0)