summaryrefslogtreecommitdiffstats
path: root/base/server/python/pki/server/__init__.py
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2013-04-29 16:46:15 -0400
committerEndi Sukma Dewata <edewata@redhat.com>2013-04-29 16:58:05 -0400
commitc5b6e62b8d99ce632d2bda114f81ed8c7492e9e3 (patch)
treea99ca1f505dae53eca26e82e6f704a1815bb12fa /base/server/python/pki/server/__init__.py
parent7b95b9d69a19cd714cae2fae0c45ffd75f016f5e (diff)
downloadpki-c5b6e62b8d99ce632d2bda114f81ed8c7492e9e3.tar.gz
pki-c5b6e62b8d99ce632d2bda114f81ed8c7492e9e3.tar.xz
pki-c5b6e62b8d99ce632d2bda114f81ed8c7492e9e3.zip
Fixed undefined BASE_DIR.
The pki.server module has been fixed to include the module name of the BASE_DIR.
Diffstat (limited to 'base/server/python/pki/server/__init__.py')
-rw-r--r--base/server/python/pki/server/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/server/python/pki/server/__init__.py b/base/server/python/pki/server/__init__.py
index aaf10bd08..b2ea196ae 100644
--- a/base/server/python/pki/server/__init__.py
+++ b/base/server/python/pki/server/__init__.py
@@ -41,8 +41,8 @@ class PKISubsystem(object):
self.base_dir = os.path.join(INSTANCE_BASE_DIR, \
instance.name, subsystemName)
else:
- self.conf_dir = os.path.join(BASE_DIR, instance.name, 'conf')
- self.base_dir = os.path.join(BASE_DIR, instance.name)
+ self.conf_dir = os.path.join(pki.BASE_DIR, instance.name, 'conf')
+ self.base_dir = os.path.join(pki.BASE_DIR, instance.name)
self.validate()
@@ -66,8 +66,8 @@ class PKIInstance(object):
self.conf_dir = os.path.join(INSTANCE_BASE_DIR, name, 'conf')
self.base_dir = os.path.join(INSTANCE_BASE_DIR, name)
else:
- self.conf_dir = os.path.join(BASE_DIR, name, 'conf')
- self.base_dir = os.path.join(BASE_DIR, name)
+ self.conf_dir = os.path.join(pki.BASE_DIR, name, 'conf')
+ self.base_dir = os.path.join(pki.BASE_DIR, name)
self.validate()