[Zope-CVS] CVS: Products/ExternalEditor - ExternalEditor.py:1.4
Casey Duncan
casey@zope.com
Tue, 28 May 2002 09:16:31 -0400
Update of /cvs-repository/Products/ExternalEditor
In directory cvs.zope.org:/tmp/cvs-serv27845
Modified Files:
ExternalEditor.py
Log Message:
Indentation fix
=== Products/ExternalEditor/ExternalEditor.py 1.3 => 1.4 ===
security = getSecurityManager()
- parent = self.aq_parent
- try:
- ob = parent[REQUEST['target']]
- except AttributeError:
+ parent = self.aq_parent
+ try:
+ ob = parent[REQUEST['target']]
+ except AttributeError:
# Handle objects that are methods in ZClasses
- ob = parent.propertysheets.methods[REQUEST['target']]
+ ob = parent.propertysheets.methods[REQUEST['target']]
if not security.checkPermission('View management screen', ob):
raise 'Unauthorized'