Dolda2000 GitWeb
/
pdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50f434d
)
Parse the socket mode explicitly in octal.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 10 Dec 2011 04:12:45 +0000
(
05:12
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 10 Dec 2011 04:12:45 +0000
(
05:12
+0100)
pdm/srv.py
patch
|
blob
|
blame
|
history
diff --git
a/pdm/srv.py
b/pdm/srv.py
index
8752d97
..
6ce5d51
100644
(file)
--- a/
pdm/srv.py
+++ b/
pdm/srv.py
@@
-365,7
+365,7
@@
def listen(spec):
mode = 0o600
group = None
if len(parts) > 1:
- mode = int(parts[1],
0
)
+ mode = int(parts[1],
8
)
if len(parts) > 2:
group = parts[2]
ret = unixlistener(parts[0], mode = mode, group = group)