diff options
author | Karel Zak | 2013-08-19 17:10:07 +0200 |
---|---|---|
committer | Karel Zak | 2013-08-19 17:10:07 +0200 |
commit | 5c7664f73572b365b9b014c5afdd0a0109e69846 (patch) | |
tree | 87fdfae75855d2c912b8b3564ab184e2c6feb468 /libmount/python/test_mount_context.py | |
parent | pylibmount: coding style changes in tab.c (diff) | |
download | kernel-qcow2-util-linux-5c7664f73572b365b9b014c5afdd0a0109e69846.tar.gz kernel-qcow2-util-linux-5c7664f73572b365b9b014c5afdd0a0109e69846.tar.xz kernel-qcow2-util-linux-5c7664f73572b365b9b014c5afdd0a0109e69846.zip |
pylibmount: cleanup object names
Cxt -> Context
Tab -> Table
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/python/test_mount_context.py')
-rwxr-xr-x | libmount/python/test_mount_context.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmount/python/test_mount_context.py b/libmount/python/test_mount_context.py index 3508cf60f..7cdacc5a5 100755 --- a/libmount/python/test_mount_context.py +++ b/libmount/python/test_mount_context.py @@ -41,7 +41,7 @@ def test_mount(ts, argv): if len(argv) < 2: return -errno.EINVAL - cxt = mnt.Cxt() + cxt = mnt.Context() if argv[idx] == "-o": cxt.options = argv[idx+1] @@ -72,7 +72,7 @@ def test_umount(ts, argv): if len(argv) < 2: return -errno.EINVAL - cxt = mnt.Cxt() + cxt = mnt.Context() if argv[idx] == "-t": cxt.options = argv[idx+1] @@ -106,7 +106,7 @@ def test_flags(ts, argv): rc = 0 opt = "" flags = 0 - cxt = mnt.Cxt() + cxt = mnt.Context() if argv[idx] == "-o": cxt.options = argv[idx + 1] @@ -132,7 +132,7 @@ def test_mountall(ts, argv): mntrc = 1 ignored = 1 idx = 1 - cxt = mnt.Cxt() + cxt = mnt.Context() if len(argv) > 2: if argv[idx] == "-O": |