#5623 Fix remaining warnings from `pylint --py3k`
Closed: Fixed Opened by jcholast.

Fix remaining Python 3 incompatible code as reported by pylint --py3k.


master:

  • 126d8993217e356e771ba9781fb08fa9b3400b11 Use explicit truncating division
  • 465dd9829c2df1b82a5c4734b125cf587bf5077a Don't index exceptions directly
  • 462f4a5161185e74432cfe492ab959cc15b12711 Use print_function future definition wherever print() is used
  • b2436560dfb4f2d45d3bf4bdfe1b2a05ff98ee38 Alias "unicode" to "str" under Python 3
  • 06a678c1592928403d7619e11dc0fdb6828d51f9 Avoid builtins that were removed in Python 3
  • 983c53bb6ca68edf6ee0d571dd27abf1af1d06bc dnsutil: Rename nonzero to bool
  • 5bff350d0d4b09d634d8d37b7fab938beaaa3b6c Remove deprecated contrib/RHEL4
  • 5d8221478729db1b8c1c064e64ac4d18983ae98d make-lint: Allow running pylint --py3k to detect Python3 issues

ipa-4-3:

  • e02169810a0a154b5f581e36da3babfeac8fdc4b Use explicit truncating division
  • 7a7fea04f4d5c10f3b826b54544a3187470e882d Don't index exceptions directly
  • f30e8fcdaa6bb578e6ac9fb483a16f9c531924fa Use print_function future definition wherever print() is used
  • 0ed9bd4d26c52e4d58800e28c6419e280a77aa92 Alias "unicode" to "str" under Python 3
  • 66f6502c8b348165a482c51ad892c56743722dde Avoid builtins that were removed in Python 3
  • 76d1babc23af244e970a9a21f1b8d30ebee446f4 dnsutil: Rename nonzero to bool
  • f0e6325fc87562ae56312cc1bacd55c07052a784 Remove deprecated contrib/RHEL4
  • b301aea7ca3e9bd33c3a02c00cccbf2dd3da9e65 make-lint: Allow running pylint --py3k to detect Python3 issues

master:

  • 697072cac9d94ebd006d6a0f595d7956d38d58b9 Py3: do not use dict.iteritems()

ipa-4-3:

  • 93582ac57533b2c2bb3079da2ebc48b67b2c1655 Py3: do not use dict.iteritems()

Metadata Update from @jcholast:
- Issue assigned to pviktori
- Issue set to the milestone: FreeIPA 4.3.1

Metadata