Commit d1180fec authored by André Anjos's avatar André Anjos 💬

Fix Python 3 incompatibilities

parent ed9d9152
......@@ -84,7 +84,7 @@ def add_protocols(session, verbose):
# Add protocol purposes
for key in range(len(protocolPurpose_list)):
purpose = protocolPurpose_list[key]
print p.id, purpose[0], purpose[1]
print('%s %s %s' % (p.id, purpose[0], purpose[1]))
pu = ProtocolPurpose(p.id, purpose[0], purpose[1])
if verbose>1: print(" Adding protocol purpose ('%s','%s')..." % (purpose[0], purpose[1]))
session.add(pu)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment