diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2019-11-26 14:29:03 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2019-11-27 15:06:12 +0000 |
commit | 95505797df503a086a311cab9aecbd2318522407 (patch) | |
tree | 1e3cf32a50ac10e9c95d59db883069051683f49e /test-wait-for-port | |
parent | 2d54f8036d1f58df9690849f5b82134927561d1e (diff) | |
download | lorry-controller-95505797df503a086a311cab9aecbd2318522407.tar.gz |
Update to python3
Diffstat (limited to 'test-wait-for-port')
-rwxr-xr-x | test-wait-for-port | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test-wait-for-port b/test-wait-for-port index 22e07be..9f6a726 100755 --- a/test-wait-for-port +++ b/test-wait-for-port @@ -1,6 +1,6 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -# Copyright (C) 2014 Codethink Limited +# Copyright (C) 2014-2019 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ host = sys.argv[1] port = int(sys.argv[2]) while True: - print "Trying %s port %s" % (host, port) + print("Trying %s port %s" % (host, port)) s = socket.socket() try: s.connect((host, port)) |