[Zope-Checkins] CVS: Zope3/lib/python/Zope/PageTemplate - ZopePageTemplate.py:1.1.2.3

Guido van Rossum guido@python.org
Thu, 13 Dec 2001 17:13:57 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/PageTemplate
In directory cvs.zope.org:/tmp/cvs-serv18732/lib/python/Zope/PageTemplate

Modified Files:
      Tag: Zope-3x-branch
	ZopePageTemplate.py 
Log Message:
Rename SecurityManager.getUser to getPrincipal.

=== Zope3/lib/python/Zope/PageTemplate/ZopePageTemplate.py 1.1.2.2 => 1.1.2.3 ===
 
         security=getSecurityManager()
-        bound_names['user'] = security.getUser()
+        bound_names['user'] = security.getPrincipal()
 
         # Retrieve the value from the cache.
         keyset = None