[Zope-CVS] SVN: ldapadapter/trunk/utility.py Fix error

Roger Ineichen roger at projekt01.ch
Sat Oct 9 13:07:15 EDT 2004


Log message for revision 27864:
  Fix error


Changed:
  U   ldapadapter/trunk/utility.py


-=-
Modified: ldapadapter/trunk/utility.py
===================================================================
--- ldapadapter/trunk/utility.py	2004-10-09 17:00:26 UTC (rev 27863)
+++ ldapadapter/trunk/utility.py	2004-10-09 17:07:15 UTC (rev 27864)
@@ -92,7 +92,7 @@
             if len(urlList) >= 2:
                 self.useSSL = urlList[0].endswith('s')
                 self.host = urlList[1][:3]
-                if len(urlList) = 3:
+                if len(urlList) == 3:
                     self.port = urlList[2]
                 self.url = url
             else:
@@ -166,6 +166,6 @@
 
     implements(IManageableLDAPAdapter)
 
-    serverURL = property(self._getServerURL(), self._setServerURL(url))
+    serverURL = property(LDAPAdapter._getServerURL, LDAPAdapter._setServerURL)
     bindDN = u''
     bindPassword = u''



More information about the Zope-CVS mailing list