mirror of
https://github.com/python/cpython.git
synced 2025-10-26 00:08:32 +00:00
Added call to 'ensure_ready()' on the command object in
'Distribution.find_command_obj()'.
This commit is contained in:
parent
585df89f60
commit
611850bbb3
1 changed files with 1 additions and 0 deletions
|
|
@ -506,6 +506,7 @@ class Distribution:
|
||||||
cmd_obj = self.command_obj.get (command)
|
cmd_obj = self.command_obj.get (command)
|
||||||
if not cmd_obj and create:
|
if not cmd_obj and create:
|
||||||
cmd_obj = self.create_command_obj (command)
|
cmd_obj = self.create_command_obj (command)
|
||||||
|
cmd_obj.ensure_ready ()
|
||||||
self.command_obj[command] = cmd_obj
|
self.command_obj[command] = cmd_obj
|
||||||
|
|
||||||
return cmd_obj
|
return cmd_obj
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue