projects
/
platform
/
upstream
/
libffi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee71806
)
Simplify error handling in mkdir_p()
author
Berker Peksag
<berker.peksag@gmail.com>
Sat, 5 Mar 2016 06:30:31 +0000
(08:30 +0200)
committer
Berker Peksag
<berker.peksag@gmail.com>
Sat, 5 Mar 2016 06:30:31 +0000
(08:30 +0200)
generate-darwin-source-and-headers.py
patch
|
blob
|
history
diff --git
a/generate-darwin-source-and-headers.py
b/generate-darwin-source-and-headers.py
index
f551c35
..
005537f
100644
(file)
--- a/
generate-darwin-source-and-headers.py
+++ b/
generate-darwin-source-and-headers.py
@@
-91,9
+91,7
@@
def mkdir_p(path):
try:
os.makedirs(path)
except OSError as exc: # Python >2.5
- if exc.errno == errno.EEXIST:
- pass
- else:
+ if exc.errno != errno.EEXIST:
raise