--- a/access.py Tue Apr 22 09:46:29 2008 +0100
+++ b/access.py Tue Apr 22 12:55:56 2008 +0100
@@ -13,7 +13,7 @@
from mercurial import util
import os
-import rules
+import ruleset
class Checker(object):
'''acl checker.'''
@@ -23,7 +23,7 @@
self.repo = repo
self.repo_path = os.environ['HG_REPO_PATH']
self.user = os.environ['REMOTE_USER']
- self.rules = rules.Ruleset.readfile(os.environ['HG_ACCESS_RULES_FILE'])
+ self.rules = ruleset.Ruleset.readfile(os.environ['HG_ACCESS_RULES_FILE'])
def check(self, node):
'''return if access allowed, raise exception if not.'''