Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/p/r/Products.BibfolderFlexibleView-0.4.2/Products/BibfolderFlexibleView/tool/flexview_tool.py   Products.BibfolderFlexibleView(Download)
from OFS.Folder import Folder
from Products.BibfolderFlexibleView.config import MASKS
from Products.BibfolderFlexibleView.config import CATEGORIES
from AccessControl import Unauthorized
from types import UnicodeType
            self.add_mask(self, mask=m, reftypes=MASKS[m])
        self.process_masks(self)
        for c in CATEGORIES:
            self.add_category(self, category=c, reftypes=CATEGORIES[c])