diff options
Diffstat (limited to 'bin/update/path.py')
-rw-r--r-- | bin/update/path.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bin/update/path.py b/bin/update/path.py index d91e9e7fba..5acaafcace 100644 --- a/bin/update/path.py +++ b/bin/update/path.py @@ -8,19 +8,9 @@ # import os -import errno import subprocess from sys import platform -def mkdir_p(path): - try: - os.makedirs(path) - except OSError as exc: # Python >2.5 - if exc.errno == errno.EEXIST and os.path.isdir(path): - pass - else: - raise - def convert_to_unix(path): if platform == "cygwin": return subprocess.check_output(["cygpath", "-u", path]).decode("utf-8", "strict").rstrip() |