summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Frame.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Client/Frame.py')
-rw-r--r--src/lib/Client/Frame.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Frame.py b/src/lib/Client/Frame.py
index 014a1cf16..dca4516f6 100644
--- a/src/lib/Client/Frame.py
+++ b/src/lib/Client/Frame.py
@@ -133,7 +133,7 @@ class Frame:
for tool in self.tools:
ret += getattr(tool, name)
return ret
- elif self.__dict__.has_key(name):
+ elif name in self.__dict__:
return self.__dict__[name]
raise AttributeError, name