Correzione opzione exist_ok su makedirs()
This commit is contained in:
parent
3422c5e931
commit
71edb785d2
@ -79,7 +79,7 @@ class Build(object):
|
|||||||
tarballs = self.tarballs[arch]
|
tarballs = self.tarballs[arch]
|
||||||
maintarball = tarballs[0]
|
maintarball = tarballs[0]
|
||||||
|
|
||||||
os.makedirs(self.download_path, existok = True)
|
os.makedirs(self.download_path, exist_ok = True)
|
||||||
os.chdir(self.download_path)
|
os.chdir(self.download_path)
|
||||||
for archive in tarballs:
|
for archive in tarballs:
|
||||||
# If the archive is already there, do not do anything.
|
# If the archive is already there, do not do anything.
|
||||||
|
Reference in New Issue
Block a user