From c5b6e62b8d99ce632d2bda114f81ed8c7492e9e3 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Mon, 29 Apr 2013 16:46:15 -0400 Subject: Fixed undefined BASE_DIR. The pki.server module has been fixed to include the module name of the BASE_DIR. --- base/server/python/pki/server/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'base/server/python') 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() -- cgit