summaryrefslogtreecommitdiffstats
path: root/Demo/pdist/RCSProxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/pdist/RCSProxy.py')
-rwxr-xr-xDemo/pdist/RCSProxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/pdist/RCSProxy.py b/Demo/pdist/RCSProxy.py
index ff3f0ce..6732308 100755
--- a/Demo/pdist/RCSProxy.py
+++ b/Demo/pdist/RCSProxy.py
@@ -185,7 +185,7 @@ def test():
what = sys.argv[1]
if hasattr(proxy, what):
attr = getattr(proxy, what)
- if callable(attr):
+ if hasattr(attr, '__call__'):
print attr(*sys.argv[2:])
else:
print repr(attr)