fix emulator and cdist module
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
149a605b16
commit
03f5e1b456
2 changed files with 3 additions and 1 deletions
|
@ -22,6 +22,8 @@
|
||||||
VERSION = "2.0.3"
|
VERSION = "2.0.3"
|
||||||
DOT_CDIST = ".cdist"
|
DOT_CDIST = ".cdist"
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
class Error(Exception):
|
class Error(Exception):
|
||||||
"""Base exception class for this project"""
|
"""Base exception class for this project"""
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -75,7 +75,7 @@ def run(argv):
|
||||||
log.debug(args)
|
log.debug(args)
|
||||||
|
|
||||||
object_dir = os.path.join(global_dir, "object", cdist_type,
|
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)
|
log.debug("Object output dir = " + object_dir)
|
||||||
|
|
||||||
param_out_dir = os.path.join(object_dir, "parameter")
|
param_out_dir = os.path.join(object_dir, "parameter")
|
||||||
|
|
Loading…
Reference in a new issue