]> granicus.if.org Git - python/commitdiff
In 'install_misc': 'self.outfiles' defaults to the empty list, so we don't
authorGregory P. Smith <greg@mad-scientist.com>
Sat, 13 May 2000 03:10:30 +0000 (03:10 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sat, 13 May 2000 03:10:30 +0000 (03:10 +0000)
have to worry about "or []" in 'get_outputs()'.

Lib/distutils/cmd.py

index 28d86179495eeba92c23352d746d059e428384e0..c544b86440576f814d27c06bb6bbfa82f7a80f2f 100644 (file)
@@ -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'))