From 282c7a0230b578147a89a18ec22410b830edddfe Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Thu, 1 Jun 2000 01:09:47 +0000 Subject: [PATCH] Oops, 'reinitialize_command()' forgot to return the command object if didn't need to be reinitialized -- fixed. --- Lib/distutils/dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py index 3391e53f5e..de4f7ef0a2 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) -- 2.50.0