[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-cmf
Subject:    [Zope-CMF] Re: [CMF-checkins] CVS: Products/CMFCore -
From:       Florent Guillaume <fg () nuxeo ! com>
Date:       2005-06-21 10:26:48
Message-ID: 20050621102648.GA28207 () bertha ! in ! nuxeo ! com
[Download RAW message or body]

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@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@nuxeo.com
_______________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic