[PATCH] pylibmount: correctly import from pylibmount.so

Dave Reisner
2013-11-21T17:35:52Z

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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmount/python/libmount/__init__.py b/libmount/python/libmount/__init__.py
index 243c639..09104e2 100644
--- a/libmount/python/libmount/__init__.py
+++ b/libmount/python/libmount/__init__.py
@@ -1,2 +1,2 @@
-from pylibmount import *
+from .pylibmount import *

--
1.8.4.2