summaryrefslogtreecommitdiff
path: root/cherrypy/process/plugins.py
diff options
context:
space:
mode:
authorLakin Wecker <none@none>2009-06-15 00:22:43 +0000
committerLakin Wecker <none@none>2009-06-15 00:22:43 +0000
commitf6d5c29fbf1d8fab1cb2f21fd40b442dad6cec27 (patch)
tree244067cb9fb48793aff576a5330702570beb6f29 /cherrypy/process/plugins.py
parent772dcd6f1808013322585c426186853020266cc4 (diff)
downloadcherrypy-git-f6d5c29fbf1d8fab1cb2f21fd40b442dad6cec27.tar.gz
trunk - unbuffering the stderr for the daemonizer plugin
Diffstat (limited to 'cherrypy/process/plugins.py')
-rw-r--r--cherrypy/process/plugins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/process/plugins.py b/cherrypy/process/plugins.py
index 07b4b812..219d7a1f 100644
--- a/cherrypy/process/plugins.py
+++ b/cherrypy/process/plugins.py
@@ -336,7 +336,7 @@ class Daemonizer(SimplePlugin):
si = open(self.stdin, "r")
so = open(self.stdout, "a+")
- se = open(self.stderr, "a+", 0)
+ se = open(self.stderr, "a+")
# os.dup2(fd, fd2) will close fd2 if necessary,
# so we don't explicitly close stdin/out/err.