not needed to import our path anymore

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-10-25 23:49:10 +02:00
parent 85fcfb1744
commit 3826b6ce36
1 changed files with 0 additions and 7 deletions

View File

@ -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])):