]> git.ipfire.org Git - thirdparty/util-linux.git/commit
pylibmount: correctly import from pylibmount.so
authorDave Reisner <dreisner@archlinux.org>
Thu, 21 Nov 2013 17:25:27 +0000 (12:25 -0500)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Dec 2013 09:59:31 +0000 (10:59 +0100)
commitc8e5e6e7323642f7e6f12ee5f5231b0ec44c40ab
tree923165f4a73e23e3dc0276dc3a6970286fbb3e7c
parentcd80445017fcc845eebed534782c6e7f13ef8480
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>
libmount/python/libmount/__init__.py