update a lot of tests for new exec.local

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-11-01 15:20:10 +01:00
commit 528901bdee
7 changed files with 57 additions and 15 deletions

View file

@ -60,7 +60,7 @@ class Local(object):
if 'HOME' in os.environ:
return os.path.join(os.environ['HOME'], ".cdist")
else:
return = None
return None
def _init_log(self):
self.log = logging.getLogger(self.target_host)