From fa6e389fdd7da946a633a4b3bfa46361adc44129 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 5 Mar 2015 15:23:53 +0100 Subject: [PATCH] cannot use False for object id, as it is being used for os.path.join() in object Signed-off-by: Nico Schottelius --- cdist/emulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/emulator.py b/cdist/emulator.py index abd8c884..3f553412 100644 --- a/cdist/emulator.py +++ b/cdist/emulator.py @@ -134,7 +134,7 @@ class Emulator(object): def setup_object(self): # Setup object - and ensure it is not in args if self.cdist_type.is_singleton: - self.object_id = False + self.object_id = '' else: self.object_id = self.args.object_id[0] del self.args.object_id