예제 #1
0
 def listExportableItems(self):
     """ See IFilesystemExporter.
     """
     exportable = self.context.objectItems()
     exportable = [x for x in exportable
                     if not ISetupTool.isImplementedBy(x[1])]
     exportable = [x + (queryAdapter(x[1], IFilesystemExporter, None),)
                     for x in exportable]
     return exportable
예제 #2
0
 def _mustPreserve(self):
     return [x for x in self.context.objectItems()
                     if ISetupTool.isImplementedBy(x[1])]