X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=configparse.py;fp=configparse.py;h=7a99ae8b88d1204aaa21c6e40951202716613245;hb=55ec8f3eb860029ecf552d8c0a3cc6dbd2f66b68;hp=0000000000000000000000000000000000000000;hpb=f0bf0f3ace0e16d39b822a83bccb47711306cd11;p=monitor.git diff --git a/configparse.py b/configparse.py new file mode 100644 index 0000000..7a99ae8 --- /dev/null +++ b/configparse.py @@ -0,0 +1,5 @@ +from xml.sax import saxutils + +class parse(saxutils.DefaultHandler): + def __init__(self, title, number): + self.search_title, self.search_number = title, number