Oops, 'reinitialize_command()' forgot to return the command object if didn't
authorGreg Ward <gward@python.net>
Thu, 1 Jun 2000 01:09:47 +0000 (01:09 +0000)
committerGreg Ward <gward@python.net>
Thu, 1 Jun 2000 01:09:47 +0000 (01:09 +0000)
need to be reinitialized -- fixed.

Lib/distutils/dist.py

index 3391e53f5ea927319a423809b4385361f08c1bc8..de4f7ef0a281b5dc26b93e749b4319272625da64 100644 (file)
@@ -711,7 +711,7 @@ class Distribution:
             command_name = command.get_command_name()
 
         if not command.finalized:
-            return
+            return command
         command.initialize_options()
         command.finalized = 0
         self._set_command_options(command)