From 592f28272e1287e8cdb57fb1887c4782fa07281e Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Fri, 18 Feb 2000 00:14:21 +0000 Subject: Command classes are now named identically to their commands, so reflect this in 'find_command_class()' method. --- Lib/distutils/core.py | 3 +-- 1 file changed, 1 insertion(+), 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) -- cgit v0.12