python3: fix compatibility call on print function.

This commit is contained in:
Marcin Kuzminski 2017-11-26 22:19:46 +01:00
parent 1f7709b880
commit b891773a32

View file

@ -54,7 +54,7 @@ def notify(msg):
Notification for migrations messages
"""
ml = len(msg) + (4 * 2)
print('\n%s\n*** %s ***\n%s' % ('*' * ml, msg, '*' * ml)).upper()
print(('\n%s\n*** %s ***\n%s' % ('*' * ml, msg, '*' * ml)).upper())
class DbManage(object):