diff options
author | Will Woods <wwoods@wills-mini.localdomain> | 2007-09-14 01:38:09 -0400 |
---|---|---|
committer | Will Woods <wwoods@wills-mini.localdomain> | 2007-09-14 01:38:09 -0400 |
commit | c81a46855f6cebe44b18959158c86b76b4b1a76d (patch) | |
tree | c56ceb9c33c8e3d989fcbf0f754f981fd20f9adc | |
parent | 860383b4c2592db5a1894b6e0e8e242b175e7116 (diff) | |
download | python-bugzilla-c81a46855f6cebe44b18959158c86b76b4b1a76d.tar.gz python-bugzilla-c81a46855f6cebe44b18959158c86b76b4b1a76d.tar.xz python-bugzilla-c81a46855f6cebe44b18959158c86b76b4b1a76d.zip |
Dunno what I was thinking with __getattr__ and method calls. Thanks to ivazquez for confirming.
-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) |