From b8ff4c9609d61033deab83b4e3be082cde7b45fe Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 23 Sep 2011 14:55:00 +0200 Subject: [PATCH] begin split into smaller files Signed-off-by: Nico Schottelius --- bin/cdist | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/cdist b/bin/cdist index 30db1ec9..fe3c17fd 100755 --- a/bin/cdist +++ b/bin/cdist @@ -62,6 +62,10 @@ VERSION = "2.0.1" logging.basicConfig(level=logging.INFO, format='%(levelname)s: %(message)s') log = logging.getLogger() +# Begin to split into parts +sys.path.insert(0, + os.path.abspath(os.path.join(os.path.dirname(__file__), + '../lib/python'))) def file_to_list(filename): """Return list from \n seperated file"""