diff options
Diffstat (limited to 'Demo')
-rwxr-xr-x | Demo/pdist/RCSProxy.py | 2 |
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) |