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
def _mustPreserve(self): return [x for x in self.context.objectItems() if ISetupTool.isImplementedBy(x[1])]