def _make_one(self, *exprs): from repoze.postoffice.filters import HeaderRegexpFilter as cut return cut(*exprs)
def _make_one(self): from repoze.postoffice.filters import BodyRegexpFileFilter as cut return cut(self.path)
def _make_one(self, *exprs): from repoze.postoffice.filters import BodyRegexpFilter as cut return cut(*exprs)