diff options
-rw-r--r-- | Lib/distutils/command/install_lib.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/command/install_lib.py b/Lib/distutils/command/install_lib.py index a603b4f..2c92f3f 100644 --- a/Lib/distutils/command/install_lib.py +++ b/Lib/distutils/command/install_lib.py @@ -56,7 +56,8 @@ class install_lib (Command): outfiles = self.install() # (Optionally) compile .py to .pyc - self.bytecompile(outfiles) + if outfiles is not None: + self.bytecompile(outfiles) # run () |