mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-04 21:04:41 +00:00
Merge pull request #221 from cjmayo/python3_11
{python3_11} Python3: fix permission mask in test_file
This commit is contained in:
commit
0d35cf959d
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ def unzip (filename, targetdir):
|
|||
zf = zipfile.ZipFile(filename)
|
||||
for name in zf.namelist():
|
||||
if name.endswith('/'):
|
||||
os.mkdir(os.path.join(targetdir, name), 0700)
|
||||
os.mkdir(os.path.join(targetdir, name), 0o700)
|
||||
else:
|
||||
outfile = open(os.path.join(targetdir, name), 'wb')
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue