[Checkins] SVN: zope.authentication/trunk/src/zope/authentication/principalterms.txt oops, forgot to undo that change.

Stephen Richter cvs-admin at zope.org
Thu Feb 21 16:41:28 UTC 2013


Log message for revision 129579:
  oops, forgot to undo that change.
  

Changed:
  U   zope.authentication/trunk/src/zope/authentication/principalterms.txt

-=-
Modified: zope.authentication/trunk/src/zope/authentication/principalterms.txt
===================================================================
--- zope.authentication/trunk/src/zope/authentication/principalterms.txt	2013-02-21 16:40:32 UTC (rev 129578)
+++ zope.authentication/trunk/src/zope/authentication/principalterms.txt	2013-02-21 16:41:28 UTC (rev 129579)
@@ -16,7 +16,7 @@
   >>> from zope.authentication.interfaces import PrincipalLookupError
   >>> @implementer(IAuthentication)
   ... class AuthUtility:
-  ...     data = {u'jim': u'Jim Fulton', u'stephan': u'Stephan Richter'}
+  ...     data = {'jim': u'Jim Fulton', 'stephan': u'Stephan Richter'}
   ...
   ...     def getPrincipal(self, id):
   ...         title = self.data.get(id)
@@ -49,7 +49,7 @@
 
 Now we can ask the terms view for terms:
 
-  >>> term = terms.getTerm(u'stephan')
+  >>> term = terms.getTerm('stephan')
   >>> term.title
   'Stephan Richter'
   >>> term.token



More information about the checkins mailing list