Permalink
Browse files

hail mary to see if we can get rtd to work

  • Loading branch information...
mcdonc committed Mar 30, 2012
1 parent ae442a9 commit d2260c694ef874a1dcce7cd12256b469b58efa40
Showing with 7 additions and 1 deletion.
  1. +7 −1 pyramid_ldap/__init__.py
View
@@ -6,7 +6,13 @@
from pyramid.exceptions import ConfigurationError
from pyramid.compat import bytes_
-from ldappool import ConnectionManager
+try:
+ from ldappool import ConnectionManager
+except ImportError as e: # pragma: no cover
+ class ConnectionManager(object):
+ def __init__(self, *arg, **kw):
+ # this is for benefit of being able to build the docs on rtd.org
+ raise e
logger = logging.getLogger(__name__)

0 comments on commit d2260c6

Please sign in to comment.