Merge branch 'martin' into 2.3.x

This commit is contained in:
Martin Konecny 2013-01-29 12:17:36 -05:00
commit 9d4e0d2dd1
3 changed files with 55 additions and 20 deletions

View file

@ -6,14 +6,14 @@ try:
config = ConfigObj('/etc/airtime/pypo.cfg')
LS_HOST = config['ls_host']
LS_PORT = config['ls_port']
tn = telnetlib.Telnet(LS_HOST, LS_PORT)
tn.write("master_harbor.stop\n")
tn.write("live_dj_harbor.stop\n")
tn.write('exit\n')
tn.read_all()
except Exception, e:
print('Error loading config file: %s', e)
sys.exit()