Skip to content

Commit 5b8ac15

Browse files
committed
Improve debug output
- Legacy-Id: 13143
1 parent ef4d55f commit 5b8ac15

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ietf/stats/backfill_data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@
8484
if author.email_id:
8585
old_authors_by_email[author.email_id] = author
8686

87-
# the draft parser sometimes has a problem if affiliation
88-
# isn't in the second line, then it will report an extra
89-
# author - skip those
87+
# the draft parser sometimes has a problem when
88+
# affiliation isn't in the second line and it then thinks
89+
# it's an extra author - skip those extra authors
9090
seen = set()
9191
for full, _, _, _, _, email, country, company in d.get_author_list():
9292
if email in seen:
@@ -118,7 +118,7 @@
118118
country = country.decode("latin-1")
119119

120120
if old_author.country != country:
121-
print "new country", canonical_name ,"[", full, "]", old_author.country.encode("utf-8"), "->", country.encode("utf-8")
121+
print "new country", canonical_name ,"[", full, email, "]", old_author.country.encode("utf-8"), "->", country.encode("utf-8")
122122
old_author.country = country
123123
old_author.save(update_fields=["country"])
124124
updated = True

0 commit comments

Comments
 (0)