Skip to content
Snippets Groups Projects
Commit 96055f58 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[experiments][migrations] Fix print statements

parent 03a35310
No related branches found
No related tags found
2 merge requests!2551.4.x,!242Py3 compatibility
......@@ -74,7 +74,7 @@ def reset_blocks(apps, schema_editor):
if xp.errors:
message = "The experiment `%s' isn't valid (skipping " \
"block update), due to the following errors:\n * %s"
print message % (fullname, '\n * '.join(xp.errors))
print(message % (fullname, '\n * '.join(xp.errors)))
continue
# Loads the experiment execution description, creating the Block's,
......
......@@ -66,7 +66,7 @@ def set_block_order(apps, schema_editor):
if xp.errors:
message = "The experiment `%s' isn't valid (skipping " \
"block update), due to the following errors:\n * %s"
print message % (fullname, '\n * '.join(xp.errors))
print(message % (fullname, '\n * '.join(xp.errors)))
continue
# Goes, in order, setting block inner order
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment