diff options
author | Radostin Stoyanov <rstoyanov1@gmail.com> | 2018-09-23 17:31:52 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2018-10-30 19:28:01 +0300 |
commit | 147660f02f0cbf1c20623b6312c426cb60c3f3a4 (patch) | |
tree | 0f2eeb6d79d4b4fc8fbf9bcba8ccefb9198353f2 /test/others/mounts | |
parent | 7ce23b2a74196678a746d1402e5444179674c9a4 (diff) |
Convert to python3 style print() syntax
Use __future__ imports to keep this working for python2
Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Diffstat (limited to 'test/others/mounts')
-rwxr-xr-x | test/others/mounts/mounts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/others/mounts/mounts.py b/test/others/mounts/mounts.py index 7f11d7dc0..474feed41 100755 --- a/test/others/mounts/mounts.py +++ b/test/others/mounts/mounts.py @@ -14,10 +14,10 @@ def mount(src, dst, shared, private, slave): else: cmd += " -t tmpfs none '%s'" % (dst) - print cmd + print(cmd) ret = os.system(cmd) if ret: - print "failed" + print("failed") root = tempfile.mkdtemp(prefix = "root.mount", dir = "/tmp") mount(None, root, 1, 0, 0) |