From fc6ae548893fd9bc1a447e79aec70ba417145057 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 7 Oct 2011 13:48:10 +0200 Subject: [PATCH] os.path not os Signed-off-by: Nico Schottelius --- lib/cdist/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cdist/context.py b/lib/cdist/context.py index 673309af..3ecd84e0 100644 --- a/lib/cdist/context.py +++ b/lib/cdist/context.py @@ -106,7 +106,7 @@ class Context: """Initialise output directory structure""" # Create base dir, if user supplied and not existing - if not os.isdir(self.base_dir): + if not os.path.isdir(self.base_dir): os.mkdir(self.base_dir) os.mkdir(self.out_dir)