projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
put XMLStreamParser in public namespace
[ikiwiki.git]
/
plugins
/
proxy.py
diff --git
a/plugins/proxy.py
b/plugins/proxy.py
index b4758b06059cc60ca5e33c257ad95cf9c2feea7a..2b841000ee05331dc99c4ce86568ac229d496541 100644
(file)
--- a/
plugins/proxy.py
+++ b/
plugins/proxy.py
@@
-32,7
+32,7
@@
class _IkiWikiExtPluginXMLRPCDispatcher(SimpleXMLRPCDispatcher):
def dispatch(self, method, params):
return self._dispatch(method, params)
def dispatch(self, method, params):
return self._dispatch(method, params)
-class
_
XMLStreamParser(object):
+class XMLStreamParser(object):
def __init__(self):
self._parser = xml.parsers.expat.ParserCreate()
def __init__(self):
self._parser = xml.parsers.expat.ParserCreate()
@@
-95,7
+95,7
@@
class _IkiWikiExtPluginXMLRPCHandler(object):
@staticmethod
def _read(in_fd):
ret = None
@staticmethod
def _read(in_fd):
ret = None
- parser =
_
XMLStreamParser()
+ parser = XMLStreamParser()
while True:
line = in_fd.readline()
if len(line) == 0:
while True:
line = in_fd.readline()
if len(line) == 0: