There was an error while loading. Please reload this page.
1 parent 352d21f commit 0607200Copy full SHA for 0607200
1 file changed
bugzilla/base.py
@@ -1083,13 +1083,8 @@ def _alias_or_int(_v):
1083
1084
if (include_fields is not None and aliases
1085
and "alias" not in include_fields):
1086
- # Extra field to prevent sorting (see below) from cause an error
1087
- try:
1088
- include_fields.append("alias")
1089
- except AttributeError:
1090
- # Just in case somebody passed in a tuple or another non-list
1091
- # type
1092
- include_fields = list(include_fields) + ["alias"]
+ # Extra field to prevent sorting (see below) from causing an error
+ include_fields.append("alias")
1093
1094
extra_fields = listify(extra_fields or [])
1095
extra_fields += self._getbug_extra_fields()
0 commit comments