diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2000-05-13 03:10:30 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2000-05-13 03:10:30 (GMT) |
commit | 21b9e910a5b2a53b57b5fc48a898f92c4c810096 (patch) | |
tree | 694b876a10bef573dd67a3898c908efae39a477e /Lib/distutils/cmd.py | |
parent | 6a901dd1bd1d2cfdd744bf7524ccb9b890b28d06 (diff) | |
download | cpython-21b9e910a5b2a53b57b5fc48a898f92c4c810096.zip cpython-21b9e910a5b2a53b57b5fc48a898f92c4c810096.tar.gz cpython-21b9e910a5b2a53b57b5fc48a898f92c4c810096.tar.bz2 |
In 'install_misc': 'self.outfiles' defaults to the empty list, so we don't
have to worry about "or []" in 'get_outputs()'.
Diffstat (limited to 'Lib/distutils/cmd.py')
-rw-r--r-- | Lib/distutils/cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py index 28d8617..c544b86 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')) |