summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-03-01 14:42:07 (GMT)
committerGreg Ward <gward@python.net>2000-03-01 14:42:07 (GMT)
commit611850bbb3adf2f9124f25a29ad9150ee69e62f8 (patch)
tree6e5cefaa8fe22e87cb863d6c520cc5d7926800b2 /Lib
parent585df89f60ceb2e0a5b690f12f19c14093faa6fc (diff)
downloadcpython-611850bbb3adf2f9124f25a29ad9150ee69e62f8.zip
cpython-611850bbb3adf2f9124f25a29ad9150ee69e62f8.tar.gz
cpython-611850bbb3adf2f9124f25a29ad9150ee69e62f8.tar.bz2
Added call to 'ensure_ready()' on the command object in
'Distribution.find_command_obj()'.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/core.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py
index a92bff9..83a98a8 100644
--- a/Lib/distutils/core.py
+++ b/Lib/distutils/core.py
@@ -506,6 +506,7 @@ class Distribution:
cmd_obj = self.command_obj.get (command)
if not cmd_obj and create:
cmd_obj = self.create_command_obj (command)
+ cmd_obj.ensure_ready ()
self.command_obj[command] = cmd_obj
return cmd_obj