fix emulator and cdist module

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-07 16:15:48 +02:00
parent 149a605b16
commit 03f5e1b456
2 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,8 @@
VERSION = "2.0.3"
DOT_CDIST = ".cdist"
import os
class Error(Exception):
"""Base exception class for this project"""
pass

View File

@ -75,7 +75,7 @@ def run(argv):
log.debug(args)
object_dir = os.path.join(global_dir, "object", cdist_type,
object_id, cdist.path.DOT_CDIST)
object_id, cdist.DOT_CDIST)
log.debug("Object output dir = " + object_dir)
param_out_dir = os.path.join(object_dir, "parameter")