Use strings for ElementTree.iterparse events names
commit820d07f30965ef2d7979dd640a7028ba8e3915f7
authorFlorent Le Coz <louiz@louiz.org>
Thu, 19 Dec 2013 10:47:31 +0000 (19 11:47 +0100)
committerFlorent Le Coz <louiz@louiz.org>
Thu, 19 Dec 2013 10:47:31 +0000 (19 11:47 +0100)
tree4f49c21a2f7573dbd7577b313ef1337593f3cfeb
parent540d6e9dbb5c4be190f4d114a438f80a9d9cd623
Use strings for ElementTree.iterparse events names

Because if cElementTree is not available on the system,
ElementTree is used instead, and that version doesn't accept
bytes, resulting in an exception. See
http://bugs.python.org/issue9257#msg152864
sleekxmpp/xmlstream/xmlstream.py