[Zope3-checkins] SVN: ldapauth/trunk/ Fix broken test. Remove import in main __init__.py

Roger Ineichen roger at projekt01.ch
Wed Jul 14 18:37:56 EDT 2004


Log message for revision 26541:
  Fix broken test. Remove import in main __init__.py
  Fix principals view
  Fix import in configure.zcml


Changed:
  U   ldapauth/trunk/__init__.py
  U   ldapauth/trunk/browser/principals.pt
  U   ldapauth/trunk/browser/principals.py
  U   ldapauth/trunk/configure.zcml


-=-
Modified: ldapauth/trunk/__init__.py
===================================================================
--- ldapauth/trunk/__init__.py	2004-07-14 22:14:25 UTC (rev 26540)
+++ ldapauth/trunk/__init__.py	2004-07-14 22:37:56 UTC (rev 26541)
@@ -15,4 +15,3 @@
 
 $Id$
 """
-from ldapauth.source import LDAPPrincipalSource

Modified: ldapauth/trunk/browser/principals.pt
===================================================================
--- ldapauth/trunk/browser/principals.pt	2004-07-14 22:14:25 UTC (rev 26540)
+++ ldapauth/trunk/browser/principals.pt	2004-07-14 22:37:56 UTC (rev 26541)
@@ -12,7 +12,7 @@
       <tbody>
         <tr tal:repeat="principal view/getPrincipals" >
           <td>
-					  <span tal:content="python:principal.getLogin()">login</span>
+					  <!--<span tal:content="python:principal.getLogin()">login</span>-->
           </td>
         </tr>
       </tbody>

Modified: ldapauth/trunk/browser/principals.py
===================================================================
--- ldapauth/trunk/browser/principals.py	2004-07-14 22:14:25 UTC (rev 26540)
+++ ldapauth/trunk/browser/principals.py	2004-07-14 22:37:56 UTC (rev 26541)
@@ -37,7 +37,9 @@
         context = self.context
         request = self.request
         try:
+            print "START Principals getPrincipals"
             principals = self.context.getPrincipals()
+            print "END Principals getPrincipals"
         except :
             principals = []
             self.error = _("Error, No LDAP server or connection found")

Modified: ldapauth/trunk/configure.zcml
===================================================================
--- ldapauth/trunk/configure.zcml	2004-07-14 22:14:25 UTC (rev 26540)
+++ ldapauth/trunk/configure.zcml	2004-07-14 22:37:56 UTC (rev 26541)
@@ -5,7 +5,7 @@
     i18n_domain="ldapauth"
     >
 
-    <content class=".LDAPPrincipalSource">
+    <content class="ldapauth.source.LDAPPrincipalSource">
 
         <factory
             id="ldapauth.source.LDAPPrincipalSource" />



More information about the Zope3-Checkins mailing list