From: Dave Reisner Date: Thu, 21 Nov 2013 17:25:27 +0000 (-0500) Subject: pylibmount: correctly import from pylibmount.so X-Git-Tag: v2.25-rc1~711 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8e5e6e7323642f7e6f12ee5f5231b0ec44c40ab;p=thirdparty%2Futil-linux.git 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 "", line 1, in File "/usr/lib/python3.3/site-packages/libmount/__init__.py", line 1, in from pylibmount import * ImportError: No module named 'pylibmount' Signed-off-by: Dave Reisner --- diff --git a/libmount/python/libmount/__init__.py b/libmount/python/libmount/__init__.py index 243c639bf8..09104e2e21 100644 --- a/libmount/python/libmount/__init__.py +++ b/libmount/python/libmount/__init__.py @@ -1,2 +1,2 @@ -from pylibmount import * +from .pylibmount import *