WebStack

Changeset

706:9c2cdd3327fd
2007-10-13 paulb raw files shortlog changelog graph [project @ 2007-10-13 23:43:05 by paulb] Renamed deploy to deploy_with_wsgiref, forcing developers to import a specific function.
WebStack/Adapters/WSGI.py (file)
     1.1 --- a/WebStack/Adapters/WSGI.py	Sat Oct 13 23:42:41 2007 +0000
     1.2 +++ b/WebStack/Adapters/WSGI.py	Sat Oct 13 23:43:05 2007 +0000
     1.3 @@ -113,7 +113,7 @@
     1.4  else:
     1.5      default_address = ("", 8080)
     1.6  
     1.7 -    def deploy(resource, authenticator=None, address=None, handle_errors=1, error_resource=None):
     1.8 +    def deploy_with_wsgiref(resource, authenticator=None, address=None, handle_errors=1, error_resource=None):
     1.9  
    1.10          """
    1.11          Deploy the given 'resource', with the given optional 'authenticator', at the