change trustedroots constructor to take a full pathname
authorScott Baker <bakers@cs.arizona.edu>
Mon, 26 Jan 2009 20:08:21 +0000 (20:08 +0000)
committerScott Baker <bakers@cs.arizona.edu>
Mon, 26 Jan 2009 20:08:21 +0000 (20:08 +0000)
util/trustedroot.py

index b531172..e957655 100644 (file)
@@ -3,8 +3,8 @@ import os
 from gid import *
 
 class TrustedRootList():
-    def __init__(self, basedir="."):
-        self.basedir = os.path.join(basedir, "trusted_roots")
+    def __init__(self, dir="./trusted_roots"):
+        self.basedir = dir
 
         # create the directory to hold the files
         try: