summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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