--- a/src/mercurialserver/ruleset.py Mon Oct 12 16:52:06 2009 +0100
+++ b/src/mercurialserver/ruleset.py Mon Oct 12 17:04:26 2009 +0100
@@ -28,9 +28,6 @@
return True
return c
-class AccessException(Exception):
- pass
-
class Ruleset(object):
'''Class representing the rules in a rule file'''
@@ -61,10 +58,6 @@
a = self.matchrule(kw)
return a in self.levels and self.levels.index(a) <= self.levels.index(level)
- def check(self, level, **kw):
- if not self.allow(level, **kw):
- raise AccessException()
-
def readfile(self, fn):
try:
f = open(fn)