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

Changeset 1828

Show
Ignore:
Timestamp:
11/13/07 12:21:28
Author:
fumanchu
Message:

Cosmetics.

Files:

Legend:

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

    r1826 r1828  
    412412                        self.bus.log("Restarting because %s changed." % filename) 
    413413                        self.thread.cancel() 
     414                        self.bus.log("Stopped thread %r." % self.thread.getName()) 
    414415                        self.bus.restart() 
    415416                        return 
  • trunk/cherrypy/test/test_states.py

    r1824 r1828  
    421421        else: 
    422422            tr = pyconquer.Logger("cherrypy") 
    423             tr.out = open(os.path.join(os.path.dirname(__file__), "state.log"), "wb") 
     423            tr.out = open(os.path.join(os.path.dirname(__file__), "test_states_conquer.log"), "wb") 
    424424            try: 
    425425                tr.start() 
  • trunk/cherrypy/test/test_states_demo.py

    r1827 r1828  
    7676    cherrypy.config.update(conf) 
    7777    cherrypy.tree.mount(Root(), config={'global': conf}) 
    78     cherrypy.engine.start() 
     78    try: 
     79        cherrypy.engine.start() 
     80    except ZeroDivisionError: 
     81        sys.exit(1) 
    7982    cherrypy.engine.block() 

Hosted by WebFaction

Log in as guest/cpguest to create tickets