mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 13:56:29 +00:00
bug 522804 - ZipFile exception.WindowsError build problem. r=pike
--HG-- extra : rebase_source : 9a940d5e8aed187f91584a86c7bd456bd249622c
This commit is contained in:
parent
fdc5ea52b6
commit
c6514e06d1
@ -67,7 +67,10 @@ def lockFile(lockfile, max_wait = 600):
|
||||
# we created the lockfile, so we're the owner
|
||||
break
|
||||
except OSError, e:
|
||||
if e.errno != errno.EEXIST:
|
||||
if e.errno == errno.EEXIST or \
|
||||
(sys.platform == "win32" and e.errno == errno.EACCES):
|
||||
pass
|
||||
else:
|
||||
# should not occur
|
||||
raise
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user