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

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


master:

  • 126d899 Use explicit truncating division
  • 465dd98 Don't index exceptions directly
  • 462f4a5 Use print_function future definition wherever print() is used
  • b243656 Alias "unicode" to "str" under Python 3
  • 06a678c Avoid builtins that were removed in Python 3
  • 983c53b dnsutil: Rename nonzero to bool
  • 5bff350 Remove deprecated contrib/RHEL4
  • 5d82214 make-lint: Allow running pylint --py3k to detect Python3 issues

ipa-4-3:

  • e021698 Use explicit truncating division
  • 7a7fea0 Don't index exceptions directly
  • f30e8fc Use print_function future definition wherever print() is used
  • 0ed9bd4 Alias "unicode" to "str" under Python 3
  • 66f6502 Avoid builtins that were removed in Python 3
  • 76d1bab dnsutil: Rename nonzero to bool
  • f0e6325 Remove deprecated contrib/RHEL4
  • b301aea make-lint: Allow running pylint --py3k to detect Python3 issues

master:

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

ipa-4-3:

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

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

7 years ago

Login to comment on this ticket.

Metadata