From 3826b6ce36b99dba101e821ec129c58e8da19e50 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 25 Oct 2012 23:49:10 +0200 Subject: [PATCH] not needed to import our path anymore Signed-off-by: Nico Schottelius --- cdist.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cdist.py b/cdist.py index 75047acb..2066db55 100755 --- a/cdist.py +++ b/cdist.py @@ -219,16 +219,9 @@ if __name__ == "__main__": import logging import os import re - - # Ensure our /lib/ is included into PYTHON_PATH - sys.path.insert(0, os.path.abspath( - os.path.join(os.path.dirname(os.path.realpath(__file__)), '../lib'))) - - # And now import our stuff import cdist log = logging.getLogger("cdist") - logging.basicConfig(format='%(levelname)s: %(message)s') if re.match("__", os.path.basename(sys.argv[0])):