summaryrefslogtreecommitdiffstats
path: root/libmount/python
diff options
context:
space:
mode:
authorDave Reisner2013-11-21 18:25:27 +0100
committerKarel Zak2013-12-02 10:59:31 +0100
commitc8e5e6e7323642f7e6f12ee5f5231b0ec44c40ab (patch)
tree923165f4a73e23e3dc0276dc3a6970286fbb3e7c /libmount/python
parentnamei: align missing files with rest of the print out (diff)
downloadkernel-qcow2-util-linux-c8e5e6e7323642f7e6f12ee5f5231b0ec44c40ab.tar.gz
kernel-qcow2-util-linux-c8e5e6e7323642f7e6f12ee5f5231b0ec44c40ab.tar.xz
kernel-qcow2-util-linux-c8e5e6e7323642f7e6f12ee5f5231b0ec44c40ab.zip
pylibmount: correctly import from pylibmount.so
Without this, python is unable to find the module: $ python -c 'import libmount' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3.3/site-packages/libmount/__init__.py", line 1, in <module> from pylibmount import * ImportError: No module named 'pylibmount' Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'libmount/python')
-rw-r--r--libmount/python/libmount/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/python/libmount/__init__.py b/libmount/python/libmount/__init__.py
index 243c639bf..09104e2e2 100644
--- a/libmount/python/libmount/__init__.py
+++ b/libmount/python/libmount/__init__.py
@@ -1,2 +1,2 @@
-from pylibmount import *
+from .pylibmount import *