diff --git a/salt/client.py b/salt/client.py index b38b5b5181..41cca6cf32 100644 --- a/salt/client.py +++ b/salt/client.py @@ -125,7 +125,7 @@ class LocalClient(object): try: return range_.expand(tgt) except seco.range.RangeException as err: - print("Range server exception: {0}".format(err)) + print('Range server exception: {0}'.format(err)) return [] def _get_timeout(self, timeout): diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py index 882ee9b1a4..a23a3ffe13 100644 --- a/tests/integration/__init__.py +++ b/tests/integration/__init__.py @@ -499,7 +499,6 @@ class TestDaemon(object): for target in responses: if target not in expected_connections: # Someone(minion) else "listening"? - print target continue expected_connections.remove(target) sys.stdout.write('\r' + ' ' * PNUM + '\r')