diff options
Diffstat (limited to 'Lib/distutils/dist.py')
-rw-r--r-- | Lib/distutils/dist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py index 89390fb..e89d942 100644 --- a/Lib/distutils/dist.py +++ b/Lib/distutils/dist.py @@ -569,7 +569,7 @@ Common commands: (see '--help-commands' for more) #print "showing help for option %s of command %s" % \ # (help_option[0],cmd_class) - if callable(func): + if hasattr(func, '__call__'): func() else: raise DistutilsClassError( |