freeipa/ipaserver/install/plugins
Petr Viktorin 3bf91eab25 Use Python3-compatible dict method names
Python 2 has keys()/values()/items(), which return lists,
iterkeys()/itervalues()/iteritems(), which return iterators,
and viewkeys()/viewvalues()/viewitems() which return views.

Python 3 has only keys()/values()/items(), which return views.
To get iterators, one can use iter() or a for loop/comprehension;
for lists there's the list() constructor.

When iterating through the entire dict, without modifying the dict,
 the difference between Python 2's items() and iteritems() is
negligible, especially on small dicts (the main overhead is
extra memory, not CPU time). In the interest of simpler code,
this patch changes many instances of iteritems() to items(),
iterkeys() to keys() etc.

In other cases, helpers like six.itervalues are used.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
2015-09-01 11:42:01 +02:00
..
__init__.py Server Upgrade: specify order of plugins in update files 2015-04-14 19:25:47 +02:00
adtrust.py upgrade: Enable and start oddjobd if adtrust is available 2015-07-08 17:14:56 +02:00
ca_renewal_master.py Server Upgrade: Allow base64 encoded values 2015-05-11 16:08:01 +00:00
dns.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
fix_replica_agreements.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
rename_managed.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
update_idranges.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
update_managed_permissions.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
update_pacs.py Server Upgrade: plugins should use ldapupdater API instance 2015-04-14 19:25:47 +02:00
update_passsync.py Server Upgrade: Allow base64 encoded values 2015-05-11 16:08:01 +00:00
update_referint.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
update_services.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
update_uniqueness.py Server Upgrade: Allow base64 encoded values 2015-05-11 16:08:01 +00:00
upload_cacrt.py Modernize 'except' clauses 2015-08-12 18:17:23 +02:00