py3: Use '0o' octal literal
This commit is contained in:
parent
c2810d0423
commit
cd3d44ff6d
@ -36,7 +36,7 @@ def get_or_create_dir(dir_path):
|
|||||||
'"%s", already exists.' % dir_path)
|
'"%s", already exists.' % dir_path)
|
||||||
elif not os.path.isdir(dir_path):
|
elif not os.path.isdir(dir_path):
|
||||||
logger.info('Creating dir %s', dir_path)
|
logger.info('Creating dir %s', dir_path)
|
||||||
os.makedirs(dir_path, 0755)
|
os.makedirs(dir_path, 0o755)
|
||||||
return dir_path
|
return dir_path
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user