/[straw]/straw/src/lib/OPML.py
ViewVC logotype

Diff of /straw/src/lib/OPML.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by juri, Thu Feb 20 12:56:07 2003 UTC revision 1.5 by juri, Sun Aug 17 14:50:33 2003 UTC
# Line 9  from xml.sax.saxutils import XMLGenerato Line 9  from xml.sax.saxutils import XMLGenerato
9  from xml.sax.xmlreader import AttributesImpl  from xml.sax.xmlreader import AttributesImpl
10  from StringIO import StringIO  from StringIO import StringIO
11  import xml.sax._exceptions  import xml.sax._exceptions
12    import xml.sax.handler
13  import sys  import sys
14    
15  class OPML(dict):  class OPML(dict):
# Line 90  class OutlineList: Line 91  class OutlineList:
91      def roots(self):      def roots(self):
92          return self._roots          return self._roots
93    
94  class OPMLHandler(saxutils.DefaultHandler):  class OPMLHandler(xml.sax.handler.ContentHandler):
95      def __init__(self):      def __init__(self):
96          self._outlines = OutlineList()          self._outlines = OutlineList()
97          self._opml = None          self._opml = None

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26