From: NeroBurner Date: Thu, 17 Sep 2015 11:29:06 +0000 (+0200) Subject: Octal numbers 0600 to 0o600 X-Git-Tag: 0.6.0~42 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0e0767492ef84e63d7e0065a962b5d4242f1f675;p=fdroidserver.git Octal numbers 0600 to 0o600 --- diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 2e1ff2cc..272284cf 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -295,7 +295,7 @@ def write_password_file(pwtype, password=None): command line argments ''' filename = '.fdroid.' + pwtype + '.txt' - fd = os.open(filename, os.O_CREAT | os.O_TRUNC | os.O_WRONLY, 0600) + fd = os.open(filename, os.O_CREAT | os.O_TRUNC | os.O_WRONLY, 0o600) if password is None: os.write(fd, config[pwtype]) else: