diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2009-12-20 12:48:06 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2009-12-20 12:48:06 -0500 |
commit | 4447ca069afcb1cda3297f51e0778053a91d52c7 (patch) | |
tree | 87ccf13b73acab1494578ecec5be48f0856498d5 /source | |
parent | 9a86535b8dcde0f56c7ee40d6fc1941f386de037 (diff) |
Support multiple files at the command line.
This way I can run this parser like this
find ./ -name '*.xhp' | xargs ooo-help-parser.py
to parse all help contents in a single run.
Diffstat (limited to 'source')
-rw-r--r-- | source/expatimpl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/expatimpl.py b/source/expatimpl.py index 2a2cdf5..a147162 100644 --- a/source/expatimpl.py +++ b/source/expatimpl.py @@ -64,7 +64,7 @@ class Parser: s = repr(data) if len(s) >= 3 and s[0] == 'u' and s[1] == "'" and s[-1] == "'": - # u'foo' -> foo + # move the unicode quote (e.g. u'foo' -> foo) if exists. s = s[2:-1] self.nodestack[-1].appendChild(Content(s)) |