Convert some idioms over to py3k-compatible idioms
authorngie <ngie@FreeBSD.org>
Sun, 24 Sep 2017 00:14:48 +0000 (00:14 +0000)
committerngie <ngie@FreeBSD.org>
Sun, 24 Sep 2017 00:14:48 +0000 (00:14 +0000)
commiteda725d65a60dd99f7aa82e41f9fe09cbac9ae9d
treefd7d450e57470f53a712261d8005068a1960d7c9
parentcb7552a4e91ba6ca5d0416ad813b8dfb78e6a213
Convert some idioms over to py3k-compatible idioms

- Import print_function from __future__ and use print(..) instead of `print ..`.
- Use repr instead of backticks when the object needs to be dumped, unless
  print(..) can do it lazily. Use str instead of backticks as appropriate
  for simplification reasons.

This doesn't fully convert these modules over py3k. It just gets over some of
the trivial compatibility hurdles.
tests/sys/opencrypto/cryptodev.py
tests/sys/opencrypto/cryptotest.py