OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python311
/
lib
/
python3.11
/
site-packages
/
pkg_resources
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
01/09/2025 02:18:04 AM
rwxr-xr-x
📄
__init__.py
105.81 KB
05/14/2024 03:17:31 PM
rw-r--r--
📁
__pycache__
-
05/14/2024 03:17:31 PM
rwxr-xr-x
📁
_vendor
-
05/14/2024 03:17:31 PM
rwxr-xr-x
📁
extern
-
05/14/2024 03:17:31 PM
rwxr-xr-x
📄
py31compat.py
558 bytes
05/14/2024 03:17:31 PM
rw-r--r--
Editing: py31compat.py
Close
import os import errno import sys from .extern import six def _makedirs_31(path, exist_ok=False): try: os.makedirs(path) except OSError as exc: if not exist_ok or exc.errno != errno.EEXIST: raise # rely on compatibility behavior until mode considerations # and exists_ok considerations are disentangled. # See https://github.com/pypa/setuptools/pull/1083#issuecomment-315168663 needs_makedirs = ( six.PY2 or (3, 4) <= sys.version_info < (3, 4, 1) ) makedirs = _makedirs_31 if needs_makedirs else os.makedirs