From: Scott Baker Date: Mon, 26 Jan 2009 20:08:21 +0000 (+0000) Subject: change trustedroots constructor to take a full pathname X-Git-Tag: sfa-0.9-0@14641~714 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=7f2b1425bb6df39bc8471de00848c36f641047d0 change trustedroots constructor to take a full pathname --- diff --git a/util/trustedroot.py b/util/trustedroot.py index b531172a..e957655d 100644 --- a/util/trustedroot.py +++ b/util/trustedroot.py @@ -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: