diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2023-08-08 09:21:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-08 09:21:23 +0200 |
commit | 86f9d3865bb93d84cc5e5bab7f36bfd4f134901e (patch) | |
tree | e1f18dc9008003fe23a6f250cdc6bc577bfb39a4 /lib | |
parent | 834e7b2b0a9f2d0de8a3611f886f09e99a5497f6 (diff) | |
download | spack-86f9d3865bb93d84cc5e5bab7f36bfd4f134901e.tar.gz spack-86f9d3865bb93d84cc5e5bab7f36bfd4f134901e.tar.bz2 spack-86f9d3865bb93d84cc5e5bab7f36bfd4f134901e.tar.xz spack-86f9d3865bb93d84cc5e5bab7f36bfd4f134901e.zip |
Fix broken inode assertion (#39188)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/llnl/util/lock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/llnl/util/lock.py b/lib/spack/llnl/util/lock.py index a593b75745..74a325acd2 100644 --- a/lib/spack/llnl/util/lock.py +++ b/lib/spack/llnl/util/lock.py @@ -143,7 +143,7 @@ class OpenFileTracker: def release_by_stat(self, stat): key = (stat.st_dev, stat.st_ino, os.getpid()) open_file = self._descriptors.get(key) - assert open_file, "Attempted to close non-existing inode: %s" % stat.st_inode + assert open_file, "Attempted to close non-existing inode: %s" % stat.st_ino open_file.refs -= 1 if not open_file.refs: |