Initial Checkin.
[monitor.git] / config.py
1 from xml.sax import saxutils
2
3 class config(saxutils.DefaultHandler):
4         def __init__(self, file, start):
5                 self.file = file
6                 self.start = start
7                 self.config = {}
8
9         def startElement(self,name, attrs):
10                 if name != self.start: return
11
12
13 #incomplete