changeset 2792:e4ebc0bcf5ed

more octal cosmetics
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 01 Sep 2007 01:30:05 +0200
parents 927ee24989f3
children b077f4b271c9
files MoinMoin/parser/text_rst.py MoinMoin/server/daemon.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/text_rst.py	Sat Sep 01 01:15:14 2007 +0200
+++ b/MoinMoin/parser/text_rst.py	Sat Sep 01 01:30:05 2007 +0200
@@ -132,7 +132,7 @@
         self.nodes.append(node)
         return True
 
-    wiki_resolver.priority = 001
+    wiki_resolver.priority = 1
 
     def __init__(self, formatter, request):
         html4css1.Writer.__init__(self)
--- a/MoinMoin/server/daemon.py	Sat Sep 01 01:15:14 2007 +0200
+++ b/MoinMoin/server/daemon.py	Sat Sep 01 01:30:05 2007 +0200
@@ -188,7 +188,7 @@
         os.setsid()
         if os.fork():   # launch child and...
             os._exit(0) # kill off parent again.
-        os.umask(077)
+        os.umask(0077)
         null = os.open('/dev/null', os.O_RDWR)
         for i in range(3):
             try: