diff options
Diffstat (limited to 'paste/modpython.py')
-rw-r--r-- | paste/modpython.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/paste/modpython.py b/paste/modpython.py index 98bf6f7..1a8bc5c 100644 --- a/paste/modpython.py +++ b/paste/modpython.py @@ -1,5 +1,4 @@ -""" -WSGI Paste wrapper for mod_python. Requires Python 2.2 or greater. +"""WSGI Paste wrapper for mod_python. Requires Python 2.2 or greater. Example httpd.conf section for a Paste app with an ini file:: @@ -53,7 +52,10 @@ http://projects.amor.org/misc/svn/modpython_gateway.py import traceback import os -from mod_python import apache +try: + from mod_python import apache +except: + pass from paste.deploy import loadapp class InputWrapper(object): |