From 0226481a3a81d605cf81366c78ac5ea9af506cfb Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 16 Jun 2014 00:03:41 +0200 Subject: Minor: change outpu of reindex script --- archaeological_operations/management/commands/reindex_acts.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'archaeological_operations/management') diff --git a/archaeological_operations/management/commands/reindex_acts.py b/archaeological_operations/management/commands/reindex_acts.py index 70c97e0fd..a701c3fb7 100644 --- a/archaeological_operations/management/commands/reindex_acts.py +++ b/archaeological_operations/management/commands/reindex_acts.py @@ -54,5 +54,6 @@ class Command(BaseCommand): tobefix.append(admin_act) print "To be fix" for item in tobefix: - print item.signature_date.year, item.index, item.act_type, \ - item.operation or item.associated_file + print u";".join([unicode(v) for v in (item.signature_date.year, + item.index, item.act_type, + item.operation or item.associated_file)]) -- cgit v1.2.3