New submission from Tal Cohen <[email protected]>:
_extract_member, raised an exception in case of more than one process, This
happens because "not os.path.exists(upperdirs" return True in case of
multiprocess
CODE:
.............
if upperdirs and not os.path.exists(upperdirs):
# Create directories that are not part of the archive with
# default permissions.
os.makedirs(upperdirs)
................
I solved the problem by creating the root path before like:
try:
os.makedirs(path)
except OSError as e:
if e.errno != os.errno.EEXIST:
raise
pass
there is an option to add :
if e.errno != os.errno.EEXIST: in your code?
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37724>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com