freeipa/ipalib
Petr Viktorin 5178e9a597 Modernize use of range()
In Python 3, range() behaves like the old xrange().
The difference between range() and xrange() is usually not significant,
especially if the whole result is iterated over.

Convert xrange() usage to range() for small ranges.
Use modern idioms in a few other uses of range().

Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
2015-09-01 11:42:01 +02:00
..
plugins Modernize use of range() 2015-09-01 11:42:01 +02:00
__init__.py Use absolute imports 2015-08-12 18:17:23 +02:00
aci.py Use new-style raise syntax 2015-09-01 11:42:01 +02:00
backend.py Use absolute imports 2015-08-12 18:17:23 +02:00
base.py Modernize use of range() 2015-09-01 11:42:01 +02:00
capabilities.py dns_name_values capability added 2014-06-03 15:55:32 +02:00
certstore.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
cli.py Use the print function 2015-09-01 11:42:01 +02:00
config.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
constants.py Revert "Hide topology and domainlevel features" 2015-07-10 15:26:50 +02:00
crud.py Use absolute imports 2015-08-12 18:17:23 +02:00
errors.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
frontend.py Replace uses of map() 2015-09-01 11:42:01 +02:00
krb_utils.py Port from python-krbV to python-gssapi 2015-08-26 09:41:36 +02:00
messages.py Use the print function 2015-09-01 11:42:01 +02:00
output.py Use absolute imports 2015-08-12 18:17:23 +02:00
parameters.py Modernize use of range() 2015-09-01 11:42:01 +02:00
pkcs10.py Use the print function 2015-09-01 11:42:01 +02:00
plugable.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
request.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
rpc.py Use six.integer_types instead of (long, int) 2015-09-01 11:42:01 +02:00
session.py Use absolute imports 2015-08-12 18:17:23 +02:00
text.py Use absolute imports 2015-08-12 18:17:23 +02:00
util.py Replace uses of map() 2015-09-01 11:42:01 +02:00
x509.py Use the print function 2015-09-01 11:42:01 +02:00