python-modernize -f lib2to3.fixes.fix_numliterals

This commit is contained in:
Tomas Kopecek 2017-05-03 11:38:27 +02:00
parent e071f793ee
commit f6e5bd11f3
6 changed files with 10 additions and 10 deletions

View file

@ -1579,7 +1579,7 @@ def handle_restart_hosts(options, session, args):
def linked_upload(localfile, path, name=None):
"""Link a file into the (locally writable) workdir, bypassing upload"""
old_umask = os.umask(002)
old_umask = os.umask(0o02)
try:
if name is None:
name = os.path.basename(localfile)