[Zope-CMF] GenericSetup import and export step registries

Godefroid Chapelle gotcha at bubblenet.be
Wed Mar 2 09:01:50 EST 2011


Le 02/03/11 14:59, Godefroid Chapelle a écrit :
> IOW, it seems it should be :
>
>      def getExportStep(self, step, default=None):
>           """Simple wrapper to query both the global and local step
> registry."""
>           res=self._export_step_registry.getStep(step, default)
>           if res is not default:
>               return res
>           return _export_registry.getStep(step, default)

I meant :

     def getExportStep(self, step, default=None):
          """Simple wrapper to query both the global and local step
registry."""
          res=self._export_registry.getStep(step, default)
          if res is not default:
              return res
          return _export_step_registry.getStep(step, default)


-- 
Godefroid Chapelle (aka __gotcha) http://bubblenet.be



More information about the Zope-CMF mailing list