Changeset 953
- Timestamp:
- 02/01/06 11:26:22
- Files:
-
- trunk/cherrypy/_cpserver.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cpserver.py
r943 r953 43 43 self.onStopThreadList = [] 44 44 45 def start(self, init_only = False, server_class = _missing, 46 initOnly = None, serverClass = None): 45 def start(self, init_only = False, server_class = _missing, **kwargs): 47 46 """Main function. MUST be called from the main thread. 48 47 … … 52 51 53 52 # Read old variable names for backward compatibility 54 if initOnly is not None: 55 init_only = initOnly 56 if serverClass is not None: 57 server_class = serverClass 58 53 if 'initOnly' in kwargs: 54 init_only = kwargs['initOnly'] 55 if 'serverClass' in kwargs: 56 server_class = kwargs['serverClass'] 57 cherrypy.log("%s %s" % (init_only, server_class)) 58 59 59 self.state = STARTING 60 60 self.interrupt = None

