(self)
| 13 | self.lock_file = None |
| 14 | |
| 15 | def __enter__(self): |
| 16 | self.lock_file = open(self.lock_path, "w") |
| 17 | fcntl.flock(self.lock_file.fileno(), fcntl.LOCK_EX) |
| 18 | return self |
| 19 | |
| 20 | def __exit__(self, exc_type, exc_val, exc_tb): |
| 21 | if self.lock_file: |
nothing calls this directly
no outgoing calls
no test coverage detected