Fixed 'run()' so it doesn't call 'bytecompile()' if 'install()' returned None.

This commit is contained in:
Greg Ward 2000-09-30 17:35:26 +00:00
parent e564278bfd
commit 3e6d43801b
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,8 @@ class install_lib (Command):
outfiles = self.install() outfiles = self.install()
# (Optionally) compile .py to .pyc # (Optionally) compile .py to .pyc
self.bytecompile(outfiles) if outfiles is not None:
self.bytecompile(outfiles)
# run () # run ()