Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mrDoctorWho/xmpppy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp/simplexml.py')
-rw-r--r--xmpp/simplexml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp/simplexml.py b/xmpp/simplexml.py
index a416d24..b50059b 100644
--- a/xmpp/simplexml.py
+++ b/xmpp/simplexml.py
@@ -301,7 +301,7 @@ class Node(object):
["text1", <nodea instance>, <nodeb instance>, " text2"].
"""
pl = []
- for i in range(max(len(self.data), len(self.kids))):
+ for i in xrange(max(len(self.data), len(self.kids))):
if i < len(self.data) and self.data[i]:
pl.append(self.data[i])
if i < len(self.kids) and self.kids[i]: