mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
2796724: Support Python3
https://chromium-review.googlesource.com/c/infra/luci/python-adb/+/2796724
This commit is contained in:
committed by
Samuel Attard
parent
6ee282b27a
commit
fbf5c04716
@@ -8,6 +8,7 @@
|
||||
# require any direct Cocoa locale support.
|
||||
|
||||
import os
|
||||
import errno
|
||||
import sys
|
||||
|
||||
|
||||
@@ -16,7 +17,7 @@ def main(args):
|
||||
try:
|
||||
os.makedirs(dirname)
|
||||
except OSError as e:
|
||||
if e.errno == os.errno.EEXIST:
|
||||
if e.errno == errno.EEXIST:
|
||||
# It's OK if it already exists
|
||||
pass
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user