diff options
Diffstat (limited to 'bugzilla.py')
-rw-r--r-- | bugzilla.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bugzilla.py b/bugzilla.py index d18d8b3..6b5cd99 100644 --- a/bugzilla.py +++ b/bugzilla.py @@ -536,9 +536,7 @@ class Bug(object): def __getattr__(self,name): if name not in ('__members__','__methods__','trait_names', - '_getAttributeNames') and not name.endswith(')'): - # FIXME: that .endswith hack is an extremely stupid way to figure - # out if we're checking on a method call. Find a smarter one! + '_getAttributeNames'): if not 'bug_id' in self.__dict__: raise AttributeError #print "Bug %i missing %s - loading" % (self.bug_id,name) |