diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2014-04-09 19:18:14 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2014-04-09 19:18:14 +0400 |
commit | d945344804a34ddb62ea39cf6fd23e813fb781eb (patch) | |
tree | 56587264cc393c6fda159f485ed52f4185671911 | |
parent | 8e9fe049e51fd8de0d5aed47f5f72bd343bbaf13 (diff) |
remove bad .encode()python23
-rw-r--r-- | nbxmpp/c14n.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/c14n.py b/nbxmpp/c14n.py index 764ecd8..d8af8d3 100644 --- a/nbxmpp/c14n.py +++ b/nbxmpp/c14n.py @@ -50,7 +50,7 @@ def c14n(node, is_buggy): s=s[:-1]+' />' else: s = s + "</" + node.name + ">" - return s.encode('utf-8') + return s def normalise_attr(val): return val.replace('&', '&').replace('<', '<').replace('"', '"').replace('\t', '	').replace('\n', '
').replace('\r', '
') |