mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
Octal numbers 0600 to 0o600
This commit is contained in:
parent
5ca182a20d
commit
0e0767492e
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue