Skip to content

Commit df2f74e

Browse files
committed
base: Handle non-list alias values correctly (#35)
Resolves: #35
1 parent 44045cb commit df2f74e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bugzilla/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ def _getbugs(self, idlist, permissive,
996996
else:
997997
# Need to map an alias
998998
for valdict in bugdict.values():
999-
if i in valdict.get("alias", []):
999+
if i in self._listify(valdict.get("alias", None)):
10001000
found = valdict
10011001
break
10021002

0 commit comments

Comments
 (0)