summaryrefslogtreecommitdiff
path: root/chimere/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/migrations')
-rw-r--r--chimere/migrations/0037_recopy_marker_to_route.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/chimere/migrations/0037_recopy_marker_to_route.py b/chimere/migrations/0037_recopy_marker_to_route.py
index 82dbc9d..8d2c8b0 100644
--- a/chimere/migrations/0037_recopy_marker_to_route.py
+++ b/chimere/migrations/0037_recopy_marker_to_route.py
@@ -18,8 +18,8 @@ class Migration(SchemaMigration):
val = getattr(m, attr)
if getattr(route, attr) == val:
continue
- modified.append(u" ".join([m.name, attr, unicode(val),
- unicode(getattr(route, attr))]))
+ modified.append(u" ".join([m.name, attr, str(val),
+ str(getattr(route, attr))]))
setattr(route, attr, val)
for picture in orm['chimere.PictureFile'].objects.filter(
marker=m).all():