diff options
author | Brian May <brian@linuxpenguins.xyz> | 2019-03-05 16:59:27 +1100 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-07-29 10:12:59 +0200 |
commit | e69048855fb3bf1eee6eed93dc97dabd29a289ac (patch) | |
tree | 4c050a6c952a3ff0537bd02a3ad660afc19aee11 /lib/python/bugs.py | |
parent | 3cc5ad8c15a108c676e080a5572d01061a155c25 (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.py | 2 |
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. |