Skip to content

Commit

Permalink
reorder sig
Browse files Browse the repository at this point in the history
  • Loading branch information
wisechengyi committed Jul 18, 2018
1 parent 883d13a commit ca5fa38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pex/pex_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def _prepare_bootstrap(self):
self._chroot.write(provider.get_resource_string(source_name, fn),
os.path.join(self.BOOTSTRAP_DIR, target_location, fn), 'bootstrap')

def freeze(self, verify_entry_point, bytecode_compile=True):
def freeze(self, bytecode_compile=True, verify_entry_point=False):
"""Freeze the PEX.
:param bytecode_compile: If True, precompile .py files into .pyc files when freezing code.
Expand Down Expand Up @@ -524,7 +524,7 @@ def build(self, filename, bytecode_compile=True, verify_entry_point=False):
PEXBuilder immutable.
"""
if not self._frozen:
self.freeze(verify_entry_point=verify_entry_point, bytecode_compile=bytecode_compile)
self.freeze(bytecode_compile=bytecode_compile, verify_entry_point=verify_entry_point)
try:
os.unlink(filename + '~')
self._logger.warn('Previous binary unexpectedly exists, cleaning: %s' % (filename + '~'))
Expand Down

0 comments on commit ca5fa38

Please sign in to comment.