[Zope-Checkins] CVS: Zope/lib/python/AccessControl - User.py:1.170.4.1

Chris McDonough chrism@zope.com
Sat, 28 Sep 2002 21:41:01 -0400


Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv16902/lib/python/AccessControl

Modified Files:
      Tag: chrism-install-branch
	User.py 
Log Message:
Merge chrism-install-branch with head.  Apologies for the spew.


=== Zope/lib/python/AccessControl/User.py 1.170 => 1.170.4.1 ===
--- Zope/lib/python/AccessControl/User.py:1.170	Wed Aug 14 17:29:07 2002
+++ Zope/lib/python/AccessControl/User.py	Sat Sep 28 21:40:30 2002
@@ -243,7 +243,7 @@
         warnings.warn('BasicUser.hasRole is deprecated, please use '
             'BasicUser.allowed instead; hasRole was an alias for allowed, but '
             'you may have ment to use has_role.', DeprecationWarning)
-        self.allowed(*args, **kw)
+        return self.allowed(*args, **kw)
 
     domains=[]