diff options
Diffstat (limited to 'libbe/bug.py')
-rw-r--r-- | libbe/bug.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbe/bug.py b/libbe/bug.py index 2b79605..46b25f2 100644 --- a/libbe/bug.py +++ b/libbe/bug.py @@ -277,6 +277,8 @@ class Bug (settings_object.SavedSettingsObject): return self.string(shortlist=True) def __eq__(self, other, cmp_list=DEFAULT_IDX_FULL_IDX_LIST): + if not isinstance(other, type(self)): + return False for comparison in cmp_list: if comparison(self, other) != 0: return False |