not needed to import our path anymore
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
85fcfb1744
commit
3826b6ce36
1 changed files with 0 additions and 7 deletions
7
cdist.py
7
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])):
|
||||
|
|
Loading…
Reference in a new issue