Log message for revision 112618: Merge more cleanups from 2.12 branch. Changed: U Zope/trunk/src/Products/SiteAccess/SiteRoot.py
-=- Modified: Zope/trunk/src/Products/SiteAccess/SiteRoot.py =================================================================== --- Zope/trunk/src/Products/SiteAccess/SiteRoot.py 2010-05-21 14:53:11 UTC (rev 112617) +++ Zope/trunk/src/Products/SiteAccess/SiteRoot.py 2010-05-21 14:53:12 UTC (rev 112618) @@ -87,14 +87,20 @@ self.title = title.strip() self.base = base = base.strip() self.path = path = path.strip() - if base: self.SiteRootBASE = base + if base: + self.SiteRootBASE = base else: - try: del self.SiteRootBASE - except: pass - if path: self.SiteRootPATH = path + try: + del self.SiteRootBASE + except: + pass + if path: + self.SiteRootPATH = path else: - try: del self.SiteRootPATH - except: pass + try: + del self.SiteRootPATH + except: + pass def manage_edit(self, title, base, path, REQUEST=None): """ Set the title, base, and path. _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org https://mail.zope.org/mailman/listinfo/zope-checkins