diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2013-11-14 16:11:01 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2013-11-14 16:11:01 +0000 |
commit | 4ef079272a4c8d6e17f687a50a39de4241596cd1 (patch) | |
tree | f62f5f08e636af13b6c0a34983afa0e9704380b9 /tests/policy_tests.py | |
parent | 6d867f95cca6f20b41684a3b96722f6f4f5d6e71 (diff) | |
download | sos-4ef079272a4c8d6e17f687a50a39de4241596cd1.tar.gz |
Replace print statements with six.print_() calls
Using the print statement as though it was a function leads to
incorrect behaviour in a python2 runtime. E.g.:
print()
print( "Some examples:")
print()
Produces:
()
Some examples:
()
Instead replace use of the print keyword with a call to the six
module's print_() function.
Fixes Issue #219
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'tests/policy_tests.py')
0 files changed, 0 insertions, 0 deletions