chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ca182a
)
Octal numbers 0600 to 0o600
author
NeroBurner
<pyro4hell@gmail.com>
Thu, 17 Sep 2015 11:29:06 +0000
(13:29 +0200)
committer
Daniel MartÃ
<mvdan@mvdan.cc>
Tue, 29 Dec 2015 19:10:04 +0000
(20:10 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 2e1ff2cc4e20151aa35a429d78c4c7acd532cda1..272284cf37312d7cc1a86541c7d4392d6eae777f 100644
(file)
--- 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, 0
o
600)
if password is None:
os.write(fd, config[pwtype])
else: