python-modernize -f lib2to3.fixes.fix_numliterals
This commit is contained in:
parent
6f7f828f77
commit
d9ac4ed85c
1 changed files with 2 additions and 2 deletions
|
|
@ -883,7 +883,7 @@ class BuildTracker(object):
|
|||
if options.link_imports:
|
||||
#bit of a hack, but faster than uploading
|
||||
dst = "%s/%s/%s" % (koji.pathinfo.work(), serverdir, fn)
|
||||
old_umask = os.umask(002)
|
||||
old_umask = os.umask(0o02)
|
||||
try:
|
||||
koji.ensuredir(os.path.dirname(dst))
|
||||
os.chown(os.path.dirname(dst), 48, 48) #XXX - hack
|
||||
|
|
@ -1302,7 +1302,7 @@ def main(args):
|
|||
if options.logfile:
|
||||
filename = options.logfile
|
||||
try:
|
||||
logfile = os.open(filename,os.O_CREAT|os.O_RDWR|os.O_APPEND, 0777)
|
||||
logfile = os.open(filename,os.O_CREAT|os.O_RDWR|os.O_APPEND, 0o777)
|
||||
except:
|
||||
logfile = None
|
||||
if logfile is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue