Show More
@@ -112,8 +112,7 b' class lock(object):' | |||
|
112 | 112 | # if locker dead, break lock. must do this with another lock |
|
113 | 113 | # held, or can race and break valid lock. |
|
114 | 114 | try: |
|
115 | l = lock(self.f + '.break') | |
|
116 | l.trylock() | |
|
115 | l = lock(self.f + '.break', timeout=0) | |
|
117 | 116 | os.unlink(self.f) |
|
118 | 117 | l.release() |
|
119 | 118 | except error.LockError: |
General Comments 0
You need to be logged in to leave comments.
Login now