[CMF-checkins] CVS: CMF - PropertiesTool.py:1.3
shane@digicool.com
shane@digicool.com
Fri, 20 Apr 2001 17:35:56 -0400 (EDT)
Update of /cvs-repository/CMF/CMFDefault
In directory korak:/tmp/cvs-serv2922
Modified Files:
PropertiesTool.py
Log Message:
Minor tidying can't hurt...
--- Updated File PropertiesTool.py in package CMF --
--- PropertiesTool.py 2001/02/26 13:27:45 1.2
+++ PropertiesTool.py 2001/04/20 21:35:55 1.3
@@ -93,6 +93,7 @@
from Products.CMFCore.utils import UniqueObject
from OFS.SimpleItem import SimpleItem
from Globals import default__class_init__
+from Acquisition import aq_inner, aq_parent
class PropertiesTool (UniqueObject, SimpleItem):
@@ -105,7 +106,7 @@
def editProperties(self, props):
'''Change portal settings'''
- self.aq_inner.aq_parent.manage_changeProperties(props)
+ aq_parent(aq_inner(self)).manage_changeProperties(props)
self.MailHost.smtp_host = props['smtp_server']
if hasattr(self, 'propertysheets'):
ps = self.propertysheets