correct base dir, now relative to lib

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/2.0
Nico Schottelius 13 years ago
parent 6139fab354
commit 26fad6f23c
  1. 2
      lib/cdist/path.py

2
lib/cdist/path.py vendored

@ -38,7 +38,7 @@ class Path:
if base_dir:
self.base_dir = base_dir
else:
self.base_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
self.base_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir))
self.temp_dir = tempfile.mkdtemp()

Loading…
Cancel
Save