[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security - RolePermissionView.py:1.1.2.2

Jim Fulton jim@zope.com
Thu, 3 Jan 2002 18:48:31 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv15513/App/Security

Modified Files:
      Tag: Zope-3x-branch
	RolePermissionView.py 
Log Message:
Removed need to pass 'globals()' to PageTemplateFile


=== Zope3/lib/python/Zope/App/Security/RolePermissionView.py 1.1.2.1 => 1.1.2.2 ===
 class RolePermissionView(AttributePublisher, ContextDependent):
 
-    index = PageTemplateFile( 'manage_access.pt'
-                            , '%s/pt' % os.path.dirname(__file__)
-                            )
+    index = PageTemplateFile('pt/manage_access.pt')
     
     def roles(self):
         roles = getattr(self, '_roles', None)