diff options
author | Mark McLoughlin <markmc@redhat.com> | 2013-04-22 14:55:51 +0100 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2013-04-22 14:55:51 +0100 |
commit | 07d23bf74b4279b313d8ea03ca9c15b330bdbf0b (patch) | |
tree | f275bd6bf2506d492ecf6b92611adc7df3c7a047 /tests/unit/test_service.py | |
parent | 120ddeff7e1b8956fe35a7a39fae87ddcac8301c (diff) | |
download | oslo-07d23bf74b4279b313d8ea03ca9c15b330bdbf0b.tar.gz oslo-07d23bf74b4279b313d8ea03ca9c15b330bdbf0b.tar.xz oslo-07d23bf74b4279b313d8ea03ca9c15b330bdbf0b.zip |
Use print_function __future__ import
Rather than continuing to use the old print statement, use the actual
print function introduced in python 2.6. See:
http://docs.python.org/2/whatsnew/2.6.html#pep-3105-print-as-a-function
Change-Id: I059d982d60e13f13e1caf49509c0fe0b18eda723
Diffstat (limited to 'tests/unit/test_service.py')
-rw-r--r-- | tests/unit/test_service.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/test_service.py b/tests/unit/test_service.py index 53b7eb4..77cf7ff 100644 --- a/tests/unit/test_service.py +++ b/tests/unit/test_service.py @@ -19,6 +19,9 @@ """ Unit Tests for remote procedure calls using queue """ + +from __future__ import print_function + import os import signal import time |