Permalink
Browse files

Moving around contents of CherryPyWSGIServer folder and reallighning …

…import statements for new structure.
  • Loading branch information...
1 parent 528996c commit 6a0d1f5a396eb436a294d6c2ccb7af5cf41e8cd4 @dvdotsenko committed Jan 27, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 cherrypy
  2. +1 −1 examples/windows_service/git_http_backend_winservice.py
  3. +1 −1 git_http_backend.py
  4. +1 −1 test_git_http_backend.py
Submodule cherrypy updated from 405315 to c02d76
@@ -30,7 +30,7 @@
sys.path.append(os.path.abspath("."))
import git_http_backend
-from cherrypy import wsgiserver
+import cherrypy as wsgiserver
class GitSmartHTTPServer(win32serviceutil.ServiceFramework):
# class GitSmartHTTPServer(object):
View
@@ -839,7 +839,7 @@ def assemble_WSGI_git_app(*args, **kw):
)
# default Python's WSGI server. Replace with your choice of WSGI server
- from cherrypy import wsgiserver
+ import cherrypy as wsgiserver
httpd = wsgiserver.CherryPyWSGIServer(('0.0.0.0',int(command_options['port'])),app)
if command_options['uri_marker']:
@@ -14,7 +14,7 @@
import urllib as urlopenlib
import git_http_backend
-from cherrypy import wsgiserver
+import cherrypy as wsgiserver
if sys.platform == 'cli':
import subprocessio.subprocessio_ironpython as subprocess

0 comments on commit 6a0d1f5

Please sign in to comment.