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  <[EMAIL PROTECTED]> 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   [EMAIL PROTECTED]
_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to