Kaydet (Commit) 592f2827 authored tarafından Greg Ward's avatar Greg Ward

Command classes are now named identically to their commands, so reflect this

in 'find_command_class()' method.
üst 1993f9ad
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment