summaryrefslogtreecommitdiffstats
path: root/lib/python/bugs.py
diff options
context:
space:
mode:
authorBrian May <brian@linuxpenguins.xyz>2019-03-05 16:59:27 +1100
committerEmilio Pozuelo Monfort <pochu@debian.org>2020-07-29 10:12:59 +0200
commite69048855fb3bf1eee6eed93dc97dabd29a289ac (patch)
tree4c050a6c952a3ff0537bd02a3ad660afc19aee11 /lib/python/bugs.py
parent3cc5ad8c15a108c676e080a5572d01061a155c25 (diff)
Force keys() to get evaluated as list
Under Python 3, keys() doesn't return a list (as in Python 2), but must be evaluated before it can be used as a list.
Diffstat (limited to 'lib/python/bugs.py')
-rw-r--r--lib/python/bugs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/bugs.py b/lib/python/bugs.py
index 0ef8266e42..0c94d4aff3 100644
--- a/lib/python/bugs.py
+++ b/lib/python/bugs.py
@@ -287,7 +287,7 @@ class Bug(BugBase):
notes[key].merge(n)
else:
notes[key] = n
- l = notes.keys()
+ l = list(notes.keys())
# The release part of a key can be None, so we have to deal
# with that when sorting.

© 2014-2024 Faster IT GmbH | imprint | privacy policy