diff options
author | alkorgun <alkorgun@gmail.com> | 2014-01-09 21:41:52 +0400 |
---|---|---|
committer | alkorgun <alkorgun@gmail.com> | 2014-01-09 21:41:52 +0400 |
commit | 064b2195afabefe133f9dd202037011f9d0367e4 (patch) | |
tree | 285f8b1f7e658c63214cc148936c06ba97690468 /xmpp/simplexml.py | |
parent | bd8d688c92b84c417f5cb1a9d5430111c43cb27d (diff) |
some code cleanup
Diffstat (limited to 'xmpp/simplexml.py')
-rw-r--r-- | xmpp/simplexml.py | 2 |
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]: |