Bugfix: put environment lock in the right place (#14692)

Locate the environment lock in the hidden environment directory
rather than the root of the environment.
This commit is contained in:
Peter Scheibel
2020-01-30 11:13:36 -08:00
committed by GitHub
parent 1e0408d05a
commit b2adcdb389

View File

@@ -724,7 +724,7 @@ def _transaction_lock_path(self):
"""The location of the lock file used to synchronize multiple
processes updating the same environment.
"""
return os.path.join(self.path, 'transaction_lock')
return os.path.join(self.env_subdir_path, 'transaction_lock')
@property
def lock_path(self):