fail gracefully on unicode errors on person migration
This commit is contained in:
parent
c203db7e8a
commit
872fe736b5
|
@ -12,6 +12,9 @@ def migrate_participants():
|
|||
else:
|
||||
person.first_name = names[0]
|
||||
person.about = p.short_bio
|
||||
person.save()
|
||||
print "saved %s %s" % (person.first_name, person.last_name,)
|
||||
try:
|
||||
person.save()
|
||||
#print "saved %s %s" % (person.first_name, person.last_name,)
|
||||
except:
|
||||
print "FAIL: %s" (p.name,)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user