2 Commits

Author SHA1 Message Date
chen-li
346b7c468a py3: use six.moves.range instead of xrange
six is the canonical compatibility library for supporting
Python 2 and 3 in a single codebase.

The xrange module  was removed in Python 3 and we should
use 'six.moves.range' instead of 'xrange' to make
code compatible with py 2 and 3 as well.

Partially-implements blueprint py3-compatibility

Change-Id: Id054857f320d9eda02bc0b82e5512c0595342290
2014-12-27 18:41:21 +08:00
Yulia Portnova
894157512d modified docs 2013-09-17 12:21:17 +03:00