projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1993f9a
)
Command classes are now named identically to their commands, so reflect this
author
Greg Ward
<gward@python.net>
Fri, 18 Feb 2000 00:14:21 +0000
(
00:14
+0000)
committer
Greg Ward
<gward@python.net>
Fri, 18 Feb 2000 00:14:21 +0000
(
00:14
+0000)
in 'find_command_class()' method.
Lib/distutils/core.py
patch
|
blob
|
history
diff --git
a/Lib/distutils/core.py
b/Lib/distutils/core.py
index 88e889b22fe43efd0930e978f3ba66c348daf308..f3951ac71c0b4bc823d31b5686155053ca8bef67 100644
(file)
--- 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)