freeipa/ipalib/plugins
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
..
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
aci.py Modernize use of range() 2015-09-01 11:42:01 +02:00
automember.py Fix error message for nonexistent members and add tests. 2014-11-24 16:04:57 +01:00
automount.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
baseldap.py Replace uses of map() 2015-09-01 11:42:01 +02:00
baseuser.py Modernize use of range() 2015-09-01 11:42:01 +02:00
batch.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
caacl.py caacl: fix incorrect construction of HbacRequest for hosts 2015-07-08 17:13:25 +02:00
cert.py cert-request: remove allowed extensions check 2015-08-19 12:31:03 +02:00
certprofile.py Replace uses of map() 2015-09-01 11:42:01 +02:00
config.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
delegation.py Update all remaining plugins to the new Registry API 2014-06-11 09:24:22 +02:00
dns.py Modernize use of range() 2015-09-01 11:42:01 +02:00
domainlevel.py domainlevel: Fix incorrect initializations of InvalidDomainLevelError exceptions 2015-07-20 13:53:21 +02:00
group.py Use six.string_types instead of "basestring" 2015-09-01 11:42:01 +02:00
hbacrule.py fix hbac rule search for non-admin users 2015-07-16 15:37:24 +02:00
hbacsvc.py Convert HBAC Service default permissions to managed 2014-06-24 13:53:40 +02:00
hbacsvcgroup.py Do not require description in UI. 2014-09-29 12:53:43 +02:00
hbactest.py Remove tuple unpacking from except clause ipalib/plugins/hbactest.py 2015-07-14 13:43:50 +02:00
host.py Modernize use of range() 2015-09-01 11:42:01 +02:00
hostgroup.py adjust search so that it works for non-admin users 2015-08-12 16:14:21 +02:00
idrange.py idranges: raise an error when local IPA ID range is being modified 2015-08-12 16:38:27 +02:00
idviews.py idviews: Enforce objectclass check in idoverride*-del 2015-07-23 15:37:01 +02:00
internal.py Use the print function 2015-09-01 11:42:01 +02:00
krbtpolicy.py Make 'permission' the default bind type for managed permissions 2014-06-11 13:21:29 +02:00
migration.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
misc.py plugable: Pass API to plugins on initialization rather than using set_api 2015-07-01 13:05:30 +00:00
netgroup.py adjust search so that it works for non-admin users 2015-08-12 16:14:21 +02:00
otpconfig.py Fix TOTP Synchronization Window label 2015-02-17 08:26:42 +01:00
otptoken_yubikey.py Create an OTP help topic 2014-12-05 13:44:51 +01:00
otptoken.py Use the print function 2015-09-01 11:42:01 +02:00
passwd.py Port from python-krbV to python-gssapi 2015-08-26 09:41:36 +02:00
permission.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
ping.py Allow API plugin registration via a decorator 2013-08-14 12:08:27 +02:00
pkinit.py Update all remaining plugins to the new Registry API 2014-06-11 09:24:22 +02:00
privilege.py Validate adding privilege to a permission 2015-07-17 04:57:54 +00:00
pwpolicy.py Replace uses of map() 2015-09-01 11:42:01 +02:00
radiusproxy.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
realmdomains.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
role.py speed up indirect member processing 2015-04-27 05:55:04 +00:00
rpcclient.py Switch client to JSON-RPC 2013-11-26 16:59:59 +01:00
selfservice.py Update all remaining plugins to the new Registry API 2014-06-11 09:24:22 +02:00
selinuxusermap.py fix selinuxusermap search for non-admin users 2015-07-16 15:38:47 +02:00
server.py adjust search so that it works for non-admin users 2015-08-12 16:14:21 +02:00
service.py Replace uses of map() 2015-09-01 11:42:01 +02:00
servicedelegation.py Fix minor typos 2015-07-17 14:33:30 +02:00
session.py do not import memcache on client 2015-07-16 11:23:40 +02:00
stageuser.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
sudocmd.py Convert Sudo Command default permissions to managed 2014-06-24 13:53:41 +02:00
sudocmdgroup.py Do not require description in UI. 2014-09-29 12:53:43 +02:00
sudorule.py Replace uses of map() 2015-09-01 11:42:01 +02:00
topology.py domainlevel: Fix incorrect initializations of InvalidDomainLevelError exceptions 2015-07-20 13:53:21 +02:00
trust.py Replace uses of map() 2015-09-01 11:42:01 +02:00
user.py improve the usability of ipa user-del --preserve command 2015-08-25 11:43:31 +02:00
vault.py Use the print function 2015-09-01 11:42:01 +02:00
virtual.py Give more info on virtual command access denial 2015-08-11 12:25:51 +02:00