
import time
import twccommon
areaList = wxdata.getUGCInterestList('LSZ266', 'zone')
if ('KMQT' == 'KWNS'):
    abortMsg()
if (not areaList):
    abortMsg()



twccommon.Log.info("SET HEADLINE FOR LSZ266")
areaList = wxdata.getUGCInterestList('LSZ266', 'zone')
headline = "Gale Watch from WED 1:00 AM EST until FRI 1:00 AM EST"
phenSig = "GL_A"

twccommon.Log.info("%s, %s, %s" % (areaList, phenSig, headline))
hdlnExp = 1764309600
for area in areaList:
    d = twc.Data()
    d.headline = headline
    d.phenSig = phenSig
    d.expiration = hdlnExp
    wxdata.setHeadline(area, d, hdlnExp)
    