Show More
@@ -131,6 +131,9 b' class lock(object):' | |||||
131 | except (OSError, IOError) as why: |
|
131 | except (OSError, IOError) as why: | |
132 | if why.errno == errno.EEXIST: |
|
132 | if why.errno == errno.EEXIST: | |
133 | locker = self._readlock() |
|
133 | locker = self._readlock() | |
|
134 | if locker is None: | |||
|
135 | continue | |||
|
136 | ||||
134 | # special case where a parent process holds the lock -- this |
|
137 | # special case where a parent process holds the lock -- this | |
135 | # is different from the pid being different because we do |
|
138 | # is different from the pid being different because we do | |
136 | # want the unlock and postrelease functions to be called, |
|
139 | # want the unlock and postrelease functions to be called, |
General Comments 0
You need to be logged in to leave comments.
Login now