From 14082f5c0049e8eba532034bf601dfc500f71392 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 6 Oct 2011 20:05:24 +0200 Subject: [PATCH] string, not tuple in exception Signed-off-by: Nico Schottelius --- lib/cdist/config_install.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/cdist/config_install.py b/lib/cdist/config_install.py index 3b6c79a1..f3dac289 100644 --- a/lib/cdist/config_install.py +++ b/lib/cdist/config_install.py @@ -65,7 +65,7 @@ class ConfigInstall: log.info("Running global explorers") explorers = self.path.list_global_explorers() if(len(explorers) == 0): - raise cdist.Error("No explorers found in", self.path.global_explorer_dir) + raise cdist.Error("No explorers found in " + self.path.global_explorer_dir) self.path.transfer_global_explorers() for explorer in explorers: @@ -251,12 +251,13 @@ class ConfigInstall: self.target_host, duration.total_seconds()) + + ### Cleaned / check functions: Round 1 :-) ################################# def deploy_and_cleanup(self): """Do what is most often done: deploy & cleanup""" self.deploy_to() self.cleanup() - ### Cleaned / check functions: Round 1 :-) ################################# def init_deploy(self): """Ensure the base directories are cleaned up""" log.debug("Creating clean directory structure")