mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fixed 'run()' so it doesn't call 'bytecompile()' if 'install()' returned None.
This commit is contained in:
parent
e564278bfd
commit
3e6d43801b
1 changed files with 2 additions and 1 deletions
|
@ -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 ()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue