freeipa/install/tools
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
..
man winsync-migrate: Expand the man page 2015-08-17 17:50:34 +02:00
ipa-adtrust-install Port from python-krbV to python-gssapi 2015-08-26 09:41:36 +02:00
ipa-advise Use /usr/bin/python2 2014-01-03 09:46:05 +01:00
ipa-backup Use /usr/bin/python2 2014-01-03 09:46:05 +01:00
ipa-ca-install install: Move private_ccache from ipaserver to ipapython 2015-06-08 15:33:36 +00:00
ipa-cacert-manage Add CA certificate management tool ipa-cacert-manage. 2014-07-30 16:04:21 +02:00
ipa-compat-manage Remove use of sys.exc_value 2015-09-01 11:38:56 +02:00
ipa-csreplica-manage Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
ipa-dns-install Fix regression: ipa-dns-install will add CA records if required 2015-07-08 00:32:05 +02:00
ipa-httpd-kdcproxy Improve error handling in ipa-httpd-kdcproxy 2015-07-07 16:31:04 +02:00
ipa-kra-install Add a KRA to IPA 2014-08-22 09:59:31 +02:00
ipa-ldap-updater Use /usr/bin/python2 2014-01-03 09:46:05 +01:00
ipa-managed-entries Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
ipa-nis-manage Remove use of sys.exc_value 2015-09-01 11:38:56 +02:00
ipa-otptoken-import Implement OTP token importing 2014-06-25 12:55:02 +02:00
ipa-replica-conncheck Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
ipa-replica-install install: Migrate ipa-replica-install to the install framework 2015-06-10 07:29:58 +00:00
ipa-replica-manage Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
ipa-replica-prepare Use /usr/bin/python2 2014-01-03 09:46:05 +01:00
ipa-restore Use /usr/bin/python2 2014-01-03 09:46:05 +01:00
ipa-server-certinstall Use /usr/bin/python2 2014-01-03 09:46:05 +01:00
ipa-server-install install: Migrate ipa-server-install to the install framework 2015-06-08 15:34:11 +00:00
ipa-server-upgrade Server Upgrade: ipa-server-upgrade command 2015-05-04 11:16:26 +00:00
ipa-upgradeconfig Import included profiles during install or upgrade 2015-06-04 08:27:33 +00:00
ipa-winsync-migrate winsync-migrate: Move the tool under ipaserver.install package 2015-07-02 13:23:21 +02:00
ipactl ipactl: Do not start/stop/restart single service multiple times 2015-08-26 17:43:03 +02:00
Makefile.am winsync-migrate: Include the tool parts in Makefile and friends 2015-07-02 13:23:21 +02:00