diff options
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/core.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py index 88e889b..f3951ac 100644 --- a/Lib/distutils/core.py +++ b/Lib/distutils/core.py @@ -447,8 +447,7 @@ class Distribution: expected class was not found in it.""" module_name = 'distutils.command.' + command - klass_name = string.join \ - (map (string.capitalize, string.split (command, '_')), '') + klass_name = command try: __import__ (module_name) |