fix import error... stupid one

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2011-10-19 15:20:53 +02:00
parent eb78fa18c1
commit ba6371c584
2 changed files with 5 additions and 12 deletions

View file

@ -195,13 +195,15 @@ if __name__ == "__main__":
import re
import sys
# 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")
# 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')))
logging.basicConfig(format='%(levelname)s: %(message)s')

View file

@ -1,12 +1,3 @@
2.0.3:
- sanity checks: implement tests
--------------------------------------------------------------------------------
- insert prefix into logger to distinguish between modules
- in debug/info only?
- Fix / rewrite cdist-quickstart
- write tutorial!!!!!!!!!