[Zope3-checkins] CVS: Zope3/src/zope/app/browser/security/grants - rolepermissionview.py:1.1.2.2
Fred L. Drake, Jr.
fred@zope.com
Tue, 24 Dec 2002 02:25:24 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/security/grants
In directory cvs.zope.org:/tmp/cvs-serv22860
Modified Files:
Tag: NameGeddon-branch
rolepermissionview.py
Log Message:
- fix & clean up imports
- general cleanup, normalize whitespace
=== Zope3/src/zope/app/browser/security/grants/rolepermissionview.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/security/grants/rolepermissionview.py:1.1.2.1 Mon Dec 23 14:31:10 2002
+++ Zope3/src/zope/app/browser/security/grants/rolepermissionview.py Tue Dec 24 02:25:24 2002
@@ -15,15 +15,16 @@
$Id$
"""
-
import time
-from Zope.App.PageTemplate import ViewPageTemplateFile
-from zope.publisher.browser import BrowserView
-from zope.component import getService, getAdapter
+
from zope.app.interfaces.security import IRolePermissionManager
+from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
from zope.app.security.grants.permissionroles import PermissionRoles
from zope.app.security.grants.rolepermissions import RolePermissions
from zope.app.security.settings import Unset, Allow, Deny
+from zope.component import getService, getAdapter
+from zope.publisher.browser import BrowserView
+
class RolePermissionView(BrowserView):
@@ -123,7 +124,7 @@
if not testing:
return self.index(message="Settings changed at %s"
- % time.ctime(time.time())
+ % time.ctime(time.time())
)
def update_role(self, role_id, testing=None):
@@ -144,6 +145,5 @@
if not testing:
return self.index(message="Settings changed at %s"
- % time.ctime(time.time())
+ % time.ctime(time.time())
)
-