[z3-checkins] r10660 - z3/modzope/trunk/src/modzope
philikon at codespeak.net
philikon at codespeak.net
Fri Apr 15 12:16:21 MEST 2005
Author: philikon
Date: Fri Apr 15 12:16:21 2005
New Revision: 10660
Modified:
z3/modzope/trunk/src/modzope/wsgi.py
Log:
move mod_python dependent import to the location where it's actually
used
Modified: z3/modzope/trunk/src/modzope/wsgi.py
==============================================================================
--- z3/modzope/trunk/src/modzope/wsgi.py (original)
+++ z3/modzope/trunk/src/modzope/wsgi.py Fri Apr 15 12:16:21 2005
@@ -25,7 +25,6 @@
from zope.interface import implements
from modzope.interfaces import IWSGIInputStream, IWSGIErrorStream
from wsgiref.handlers import BaseCGIHandler
-from mod_python import apache
class ModPythonInputStream(object):
implements(IWSGIInputStream)
@@ -72,6 +71,7 @@
class ModPythonHandler(BaseCGIHandler):
def __init__(self, request):
+ from mod_python import apache
options = request.get_options()
try:
More information about the z3-checkins
mailing list