changeset 56d612556fe9 in tryton-tools:default
details: https://hg.tryton.org/tryton-tools?cmd=changeset;node=56d612556fe9
description:
Replace iteritems by items for Python3 compatibility
diffstat:
hgrietveld.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 49c108029019 -r 56d612556fe9 hgrietveld.py
--- a/hgrietveld.py Sun Sep 27 14:17:30 2020 +0200
+++ b/hgrietveld.py Sun Sep 27 16:47:31 2020 +0200
@@ -142,7 +142,7 @@
"""Update the Roundup issue with a comment and changeset link."""
s = smtplib.SMTP(mailrelay)
try:
- for issue_id, data in issues.iteritems():
+ for issue_id, data in issues.items():
msg = MIMEText(
unifromlocal(b'\n\n'.join(data['comments'])),
_subtype='plain', _charset='utf8')