Skip to content

Commit 12b8024

Browse files
committed
Fix possible UTF-8 print bug
- Legacy-Id: 3423
1 parent 069b444 commit 12b8024

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

redesign/importing/import-roles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189
# IESGLogin
190190
for o in IESGLogin.objects.all():
191-
print "importing IESGLogin", o.pk, o.first_name, o.last_name
191+
print "importing IESGLogin", o.pk, o.first_name.encode("utf-8"), o.last_name.encode("utf-8")
192192

193193
if not o.person:
194194
persons = PersonOrOrgInfo.objects.filter(first_name=o.first_name, last_name=o.last_name)

0 commit comments

Comments
 (0)