From 0e0767492ef84e63d7e0065a962b5d4242f1f675 Mon Sep 17 00:00:00 2001 From: NeroBurner Date: Thu, 17 Sep 2015 13:29:06 +0200 Subject: [PATCH 1/1] Octal numbers 0600 to 0o600 --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2