From 21b9e910a5b2a53b57b5fc48a898f92c4c810096 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Sat, 13 May 2000 03:10:30 +0000 Subject: [PATCH] In 'install_misc': 'self.outfiles' defaults to the empty list, so we don't have to worry about "or []" in 'get_outputs()'. --- Lib/distutils/cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py index 28d86179495..c544b864405 100644 --- a/Lib/distutils/cmd.py +++ b/Lib/distutils/cmd.py @@ -353,7 +353,7 @@ class install_misc (Command): def initialize_options (self): self.install_dir = None - self.outfiles = None + self.outfiles = [] def _install_dir_from (self, dirname): self.set_undefined_options('install', (dirname, 'install_dir'))