src/access.py
changeset 39 f5055ce263c7
parent 33 18e93dbdaf12
child 41 de0c61b778fa
--- a/src/access.py	Thu Feb 19 16:36:41 2009 +0000
+++ b/src/access.py	Thu Feb 19 17:51:06 2009 +0000
@@ -21,7 +21,8 @@
     def __init__(self, ui, repo):
         self.ui = ui
         self.repo = repo
-        self.rules = ruleset.Ruleset.readfile(os.environ['HG_ACCESS_RULES_FILE'])
+        
+        self.rules = ruleset.rules_from_env()
         self.rules.set(user = os.environ['REMOTE_USER'])
         self.rules.set(repo = os.environ['HG_REPO_PATH'])