summaryrefslogtreecommitdiffstats
path: root/libmount/python/tab.c
diff options
context:
space:
mode:
authorKarel Zak2013-08-20 14:01:39 +0200
committerKarel Zak2013-08-20 14:01:39 +0200
commitc643ad4d814f081aae19fd82acc1dd1a2aaf840d (patch)
treec19c1e07b695e6c1b36c7f92c9b1d768c80d7e79 /libmount/python/tab.c
parentpylibmount: use only public libmount API in tab.c (diff)
downloadkernel-qcow2-util-linux-c643ad4d814f081aae19fd82acc1dd1a2aaf840d.tar.gz
kernel-qcow2-util-linux-c643ad4d814f081aae19fd82acc1dd1a2aaf840d.tar.xz
kernel-qcow2-util-linux-c643ad4d814f081aae19fd82acc1dd1a2aaf840d.zip
pylibmount: coding style changes, don't touch Context() status
It's better to follow libmnt_context status than allow to play any nasty games with this important variables in Python. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/python/tab.c')
-rw-r--r--libmount/python/tab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/python/tab.c b/libmount/python/tab.c
index d74a5ad48..da7109263 100644
--- a/libmount/python/tab.c
+++ b/libmount/python/tab.c
@@ -582,7 +582,7 @@ static PyObject *Table_new(PyTypeObject *type,
/* explicit tab.__init__() serves as mnt_reset_table(tab) would in C
* and as mnt_new_table{,_from_dir,_from_file}() with proper arguments */
-#define Table_HELP "Tab(path=None, errcb=None)"
+#define Table_HELP "Table(path=None, errcb=None)"
static int Table_init(TableObject *self, PyObject *args, PyObject *kwds)
{
struct libmnt_cache *cache;