]> granicus.if.org Git - python/commitdiff
Added call to 'ensure_ready()' on the command object in
authorGreg Ward <gward@python.net>
Wed, 1 Mar 2000 14:42:07 +0000 (14:42 +0000)
committerGreg Ward <gward@python.net>
Wed, 1 Mar 2000 14:42:07 +0000 (14:42 +0000)
'Distribution.find_command_obj()'.

Lib/distutils/core.py

index a92bff95736b137fb4cc0114c55b6552fb6a6cb5..83a98a84d684f6a63a912230e678edec984fc751 100644 (file)
@@ -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