[Zope-CVS] SVN: ldapadapter/trunk/ Fixed line endings on some lines.

Florent Guillaume fg at nuxeo.com
Sun Oct 10 09:03:31 EDT 2004


Log message for revision 27897:
  Fixed line endings on some lines.


Changed:
  U   ldapadapter/trunk/configure.zcml
  U   ldapadapter/trunk/exceptions.py
  U   ldapadapter/trunk/tests/test_ldapadapter.py


-=-
Modified: ldapadapter/trunk/configure.zcml
===================================================================
--- ldapadapter/trunk/configure.zcml	2004-10-10 13:01:20 UTC (rev 27896)
+++ ldapadapter/trunk/configure.zcml	2004-10-10 13:03:30 UTC (rev 27897)
@@ -8,29 +8,29 @@
     <content class="ldapadapter.utility.ManageableLDAPAdapter">
 
         <factory
-            id="ldapadapter.utility.ManageableLDAPAdapter" />
-   
-        <implements
+            id="ldapadapter.utility.ManageableLDAPAdapter" />
+   
+        <implements
             interface="zope.app.utility.interfaces.ILocalUtility" />
 
         <implements
             interface="zope.app.annotation.interfaces.IAttributeAnnotatable" />
 
-        <require
-            permission="zope.ManageServices"
+        <require
+            permission="zope.ManageServices"
             interface="ldapadapter.interfaces.IManageableLDAPAdapter" />
 
-        <require
+        <require
             permission="zope.ManageServices" 
             set_schema="ldapadapter.interfaces.IManageableLDAPAdapter" />
 
     </content>
 
     <!-- LDAP connection test adapter -->
-    <adapter
-        factory="ldapadapter.check.CheckLDAPAdapter"
-        provides="ldapadapter.interfaces.ICheckLDAPAdapter"
-        for="ldapadapter.interfaces.IManageableLDAPAdapter"
+    <adapter
+        factory="ldapadapter.check.CheckLDAPAdapter"
+        provides="ldapadapter.interfaces.ICheckLDAPAdapter"
+        for="ldapadapter.interfaces.IManageableLDAPAdapter"
         />
 
     <include package=".browser" />

Modified: ldapadapter/trunk/exceptions.py
===================================================================
--- ldapadapter/trunk/exceptions.py	2004-10-10 13:01:20 UTC (rev 27896)
+++ ldapadapter/trunk/exceptions.py	2004-10-10 13:03:30 UTC (rev 27897)
@@ -13,23 +13,23 @@
 ##############################################################################
 """LDAP Adapter utility.
 
-$Id:$
+$Id$
 """
-
-from zope.exceptions import NotFoundError
-
-from zope.i18nmessageid import MessageIDFactory
-_ = MessageIDFactory("ldapadapter")
-
-from zope.schema._bootstrapinterfaces import ValidationError
-
-
-class URLFormatError(Exception):
-    """The given ldap uri is not valid."""
-
-LDAP_url_format_error = _(u'The uri is not a valid LDAP uri.')
-
-
-
-class InvalidLDAPURI(ValidationError):
-    __doc__ = _("""The specified LDAP URI is not valid.""")
+
+from zope.exceptions import NotFoundError
+
+from zope.i18nmessageid import MessageIDFactory
+_ = MessageIDFactory("ldapadapter")
+
+from zope.schema._bootstrapinterfaces import ValidationError
+
+
+class URLFormatError(Exception):
+    """The given ldap uri is not valid."""
+
+LDAP_url_format_error = _(u'The uri is not a valid LDAP uri.')
+
+
+
+class InvalidLDAPURI(ValidationError):
+    __doc__ = _("""The specified LDAP URI is not valid.""")

Modified: ldapadapter/trunk/tests/test_ldapadapter.py
===================================================================
--- ldapadapter/trunk/tests/test_ldapadapter.py	2004-10-10 13:01:20 UTC (rev 27896)
+++ ldapadapter/trunk/tests/test_ldapadapter.py	2004-10-10 13:03:30 UTC (rev 27897)
@@ -36,7 +36,7 @@
     else:
         test.old_ldap = None
     sys.modules['ldap'] = fakeldap
-    import ldap
+    #import ldap
 
 def tearDown(test):
     del sys.modules['ldap']



More information about the Zope-CVS mailing list