diff --git a/tests/data/stubs/stub-lxc-info.py b/tests/data/stubs/stub-lxc-info.py index bcbc36a5..480bf266 100755 --- a/tests/data/stubs/stub-lxc-info.py +++ b/tests/data/stubs/stub-lxc-info.py @@ -1,4 +1,4 @@ #!/usr/bin/env python # Mainly for use in stubconnections/kubectl.yml -print 'PID: 1' +print('PID: 1') diff --git a/tests/data/stubs/stub-lxc.py b/tests/data/stubs/stub-lxc.py index 03572cac..9d14090a 100755 --- a/tests/data/stubs/stub-lxc.py +++ b/tests/data/stubs/stub-lxc.py @@ -5,7 +5,7 @@ import os # setns.py fetching leader PID. if sys.argv[1] == 'info': - print 'Pid: 1' + print('Pid: 1') sys.exit(0) os.environ['ORIGINAL_ARGV'] = repr(sys.argv)