Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 1754

Show
Ignore:
Timestamp:
10/17/07 10:22:05
Author:
lakin
Message:

Daemonizer Plugin: fixed the references to stdin,stdout,and stderr to refer to instance variables, rather than locals which no longer exist.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/restsrv/plugins.py

    r1752 r1754  
    257257        os.umask(0) 
    258258         
    259         si = open(stdin, "r") 
    260         so = open(stdout, "a+") 
    261         se = open(stderr, "a+", 0) 
     259        si = open(self.stdin, "r") 
     260        so = open(self.stdout, "a+") 
     261        se = open(self.stderr, "a+", 0) 
    262262 
    263263        # os.dup2(fd,fd2) will close fd2 if necessary (so we don't explicitly close 

Hosted by WebFaction

Log in as guest/cpguest to create tickets