cleanup logger stuff, remove more path stuff from cdist bin

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-09-26 10:28:57 +02:00
commit e6a903fd96
3 changed files with 2 additions and 15 deletions

View file

@ -22,9 +22,7 @@
import logging
import subprocess
logging.basicConfig(level=logging.INFO, format='%(levelname)s: %(message)s')
log = logging.getLogger()
log = logging.getLogger(__name__)
def shell_run_or_debug_fail(script, *args, **kargs):
# Manually execute /bin/sh, because sh -e does what we want