src/mercurialserver/ruleset.py
changeset 77 8d14aac93b5d
parent 67 fd16d9a1234b
child 78 2a3407a14654
--- a/src/mercurialserver/ruleset.py	Fri Mar 06 13:06:36 2009 +0000
+++ b/src/mercurialserver/ruleset.py	Fri Mar 06 13:26:35 2009 +0000
@@ -88,9 +88,5 @@
         except Exception, e:
             print >> sys.stderr, "Failure reading rules file:", e
 
-def rules_from_env():
-    res = Ruleset()
-    for f in os.environ['HG_ACCESS_RULES_PATH'].split(os.pathsep):
-        if os.path.isfile(f):
-            res.readfile(f)
-    return res
+rules = Ruleset()
+