Lines Matching defs:allowance
176 return entry.allowance(url)
179 return self.default_entry.allowance(url)
216 """A rule line is a single "Allow:" (allowance==True) or "Disallow:"
217 (allowance==False) followed by a path."""
218 def __init__(self, path, allowance):
219 if path == '' and not allowance:
221 allowance = True
224 self.allowance = allowance
230 return ("Allow" if self.allowance else "Disallow") + ": " + self.path
266 def allowance(self, filename):
272 return line.allowance