diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py index 88e889b22fe..f3951ac71c0 100644 --- a/Lib/distutils/core.py +++ b/Lib/distutils/core.py @@ -447,8 +447,7 @@ class from it, and returns the class object. 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)