Put a try/except around the 'from mod_python import apache' in mod_python_xmlrpc so epydoc can introspect it

This commit is contained in:
Jason Gerard DeRose committed 2008-10-22 23:58:59 -06:00
1 parent fb441b2b10
commit 7eb208c4b1
1 file changed
+4 -1
+4 -1
View File
@@ -34,7 +34,10 @@ import time
import traceback
import pprint
from xmlrpclib import Marshaller,loads,dumps,Fault
from mod_python import apache
try:
from mod_python import apache
except ImportError:
pass
import logging
import ldap