From: Greg Ward Date: Thu, 1 Jun 2000 01:09:47 +0000 (+0000) Subject: Oops, 'reinitialize_command()' forgot to return the command object if didn't X-Git-Tag: v2.0b1~1620 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=282c7a0230b578147a89a18ec22410b830edddfe;p=thirdparty%2FPython%2Fcpython.git Oops, 'reinitialize_command()' forgot to return the command object if didn't need to be reinitialized -- fixed. --- diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py index 3391e53f5ea9..de4f7ef0a281 100644 --- a/Lib/distutils/dist.py +++ b/Lib/distutils/dist.py @@ -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)