CC-5986 - Fixed unit tests, removed unnecessary code from service execution files
This commit is contained in:
parent
875a9dfd8b
commit
bc604b992e
11 changed files with 424 additions and 41 deletions
|
@ -76,9 +76,16 @@ parser.add_option("-c",
|
|||
|
||||
LIQUIDSOAP_MIN_VERSION = "1.1.1"
|
||||
|
||||
PYPO_HOME='/var/tmp/airtime/pypo/'
|
||||
|
||||
#need to wait for Python 2.7 for this..
|
||||
#logging.captureWarnings(True)
|
||||
def configure_environment():
|
||||
os.environ["HOME"] = PYPO_HOME
|
||||
os.environ["TERM"] = 'xterm'
|
||||
|
||||
configure_environment()
|
||||
|
||||
# need to wait for Python 2.7 for this..
|
||||
logging.captureWarnings(True)
|
||||
|
||||
# configure logging
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue