[CMF-checkins] CVS: Products/CMFCore - PortalFolder.py:1.82
Florent Guillaume
fg at nuxeo.com
Tue Jun 21 06:26:48 EDT 2005
I guess on HEAD we could start using super() as we're targetting Zope
2.8 now... Or would that be gratuitous backward non-compatibility ?
Florent
Tres Seaver <zope-cmf at zope.org> wrote:
> Modified Files:
> PortalFolder.py
> Log Message:
> - Forward-port Tiran's new base class, PortalFolderBase.
>
>
> === Products/CMFCore/PortalFolder.py 1.81 => 1.82 ===
> def _checkId(self, id, allow_dup=0):
> - PortalFolder.inheritedAttribute('_checkId')(self, id, allow_dup)
> + PortalFolderBase.inheritedAttribute('_checkId')(self, id, allow_dup)
>
> if allow_dup:
> return
> @@ -485,7 +474,7 @@
>
> # Call OFS' _verifyObjectPaste if necessary
> if not securityChecksDone:
> - PortalFolder.inheritedAttribute(
> + PortalFolderBase.inheritedAttribute(
> '_verifyObjectPaste')(self, object, validate_src)
>
--
Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D
+33 1 40 33 71 59 http://nuxeo.com fg at nuxeo.com
More information about the CMF-checkins
mailing list