diff options
| author | Dave Reisner <dreisner@archlinux.org> | 2013-11-21 12:25:27 -0500 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2014-01-14 12:58:19 +0100 |
| commit | 63067e75000b0e27244f0076138a14e60f579334 (patch) | |
| tree | ffa56b2cb83169d15226ac6b3dcc2fd745c86dfd /libmount/python | |
| parent | 38a1c997193cdbefcc89d25639f280027aaaa15b (diff) | |
| download | util-linux-63067e75000b0e27244f0076138a14e60f579334.tar.gz | |
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__.py | 2 |
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 * |
