From a8e8d7b2274d38e353dd05ad6819b0a8e302b6b4 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Thu, 13 Oct 2011 21:30:17 +0200 Subject: [PATCH] ++debug Signed-off-by: Steven Armstrong --- lib/cdist/util/fsproperty.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cdist/util/fsproperty.py b/lib/cdist/util/fsproperty.py index f00ea98a..9b55be72 100644 --- a/lib/cdist/util/fsproperty.py +++ b/lib/cdist/util/fsproperty.py @@ -211,9 +211,11 @@ class DirectoryDictProperty(DirectoryDict): path = self.__path if callable(path): path = path(*args, **kwargs) + print("_set_path: %s" % path) if not os.path.isabs(path): raise AbsolutePathRequiredError(path) # create directory if it doesn't exist + print("os.path.isdir(%s): %s" % (path, os.path.isdir(path))) if not os.path.isdir(path): os.mkdir(path) self.path = path