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_tab.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_tab.py')
-rwxr-xr-x | libmount/python/test_mount_tab.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libmount/python/test_mount_tab.py b/libmount/python/test_mount_tab.py index e22f2f86e..33ceb5285 100755 --- a/libmount/python/test_mount_tab.py +++ b/libmount/python/test_mount_tab.py @@ -42,7 +42,8 @@ def parser_errcb(tb, fname, line): def create_table(f, comments): if not f: return None - tb = mnt.Tab() + + tb = mnt.Table() tb.enable_comments(comments) tb.errcb = parser_errcb @@ -140,7 +141,7 @@ def test_is_mounted(ts, argv): def test_find_mountpoint(ts, argv): rc = -1 - tb = mnt.Tab("/proc/self/mountinfo") + tb = mnt.Table("/proc/self/mountinfo") if not tb: return rc fs = tb.find_mountpoint(argv[1], mnt.MNT_ITER_BACKWARD) |