Changeset 92:70f69e60149a

Show
Ignore:
Timestamp:
10/24/08 20:30:48 (3 years ago)
Author:
chris
Branch:
unix
Message:

remove constructure requirements

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • JabberAlertDevice.py

    r90 r92  
    9090 
    9191class JabberAlertDeviceInfo(object): 
    92         def __init__(self, host = DEFAULT_JABBER_HOST, port = DEFAULT_JABBER_PORT, user, password): 
    93                 self.__host = host 
    94                 self.__port = port 
    95                 self.__user = user 
    96                 self.__password = password 
     92        def __init__(self): 
     93                self.__host = "" 
     94                self.__port = 0 
     95                self.__user = "" 
     96                self.__password = "" 
    9797 
    9898        def display(self): 
  • StormConfig.py

    r91 r92  
    8989                smtpInfo.password = self.get('smtp','password') 
    9090 
    91                 jabberInfo.host = self.getRequired('jabber','host',DEFAULT_JABBER_HOST) 
     91                jabberInfo.host = self.get('jabber','host',DEFAULT_JABBER_HOST) 
    9292                jabberInfo.port = self.get('jabber','port',DEFAULT_JABBER_PORT) 
    9393                jabberInfo.user = self.get('jabber','user') 
  • StormXmlSiren.conf

    r76 r92  
    11[main] 
    22states = TX,TN 
    3 #watchers = 5 
    4 watchers = 1 
    5 #watchers = 11 
     3watchers = 13 
    64history=100 
    75 
     
    9593alert = watch,warning 
    9694areas = McMinnville,TN:Warren,TN:Cannon,TN:Coffee,TN:Grundy,TN:Sequatchie,TN:Van Buren,TN:White,TN:Dekalb,TN 
     95 
     96[12] 
     97device = jabber 
     98to = cfreeze@jabber.example.com 
     99alert = forecast,statement,advisory,watch,warning 
     100areas = Rockwall,TX:Collin,TX:Dallas,TX:Kaufman,TX:Hunt,TX:McMinnville,TN:Warren,TN:Cannon,TN:Coffee,TN:Grundy,TN:Sequatchie,TN:Van Buren,TN:White,TN:Dekalb,TN 
     101 
     102[13] 
     103device = media 
     104alert = forecast,statement,advisory,watch,warning 
     105areas = Rockwall,TX:Collin,TX:Dallas,TX:Kaufman,TX:Hunt,TX:McMinnville,TN:Warren,TN:Cannon,TN:Coffee,TN:Grundy,TN:Sequatchie,TN:Van Buren,TN:White,TN:Dekalb,TN