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:
authoralkorgun <alkorgun@gmail.com>2014-01-09 21:41:52 +0400
committeralkorgun <alkorgun@gmail.com>2014-01-09 21:41:52 +0400
commit064b2195afabefe133f9dd202037011f9d0367e4 (patch)
tree285f8b1f7e658c63214cc148936c06ba97690468 /xmpp/simplexml.py
parentbd8d688c92b84c417f5cb1a9d5430111c43cb27d (diff)
some code cleanup
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]: