diff options
author | W. Trevor King <wking@drexel.edu> | 2012-03-03 11:22:08 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2012-03-03 11:22:08 -0500 |
commit | 9425f381b58d878194e7d19629192ecb6bd948c8 (patch) | |
tree | 21fb3f985d65c0037f794a098b04033ec6f81690 /libbe/comment.py | |
parent | 2ba27b00384c55ec7fe29e09ce2d2c3e8eeb0977 (diff) | |
download | bugseverywhere-9425f381b58d878194e7d19629192ecb6bd948c8.tar.gz |
Apply Niall's earlier fix for comment XML loading to bug XML loading.
Sometimes saxutils returns unicode.
Diffstat (limited to 'libbe/comment.py')
-rw-r--r-- | libbe/comment.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libbe/comment.py b/libbe/comment.py index cfb951d..392e692 100644 --- a/libbe/comment.py +++ b/libbe/comment.py @@ -377,7 +377,6 @@ class Comment (Tree, settings_object.SavedSettingsObject): text = settings_object.EMPTY else: text = xml.sax.saxutils.unescape(child.text) - # Sometimes saxutils returns unicode if not isinstance(text, unicode): text = text.decode('unicode_escape') text = text.strip() |