fixup code and manifest

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-14 23:21:22 +02:00
parent df8be73c10
commit ba59339f67

View file

@ -74,6 +74,9 @@ class Manifest(object):
'__global': self.local.out_path, '__global': self.local.out_path,
'__cdist_type_base_path': self.local.type_path, # for use in type emulator '__cdist_type_base_path': self.local.type_path, # for use in type emulator
} }
if log.getEffectiveLevel() == logging.DEBUG:
self.env.update({'__debug': "yes" })
def run_initial_manifest(self, script): def run_initial_manifest(self, script):
env = os.environ.copy() env = os.environ.copy()