From: Dave Reisner <d@falconindy.com>
To: Dave Reisner <dreisner@archlinux.org>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH] pylibmount: correctly import from pylibmount.so
Date: Sun, 1 Dec 2013 10:49:44 -0500 [thread overview]
Message-ID: <20131201154944.GJ620@rampage> (raw)
In-Reply-To: <1385054727-20661-1-git-send-email-dreisner@archlinux.org>
Just wanted to make sure this didn't get lost...
On Thu, Nov 21, 2013 at 12:25:27PM -0500, Dave Reisner wrote:
> 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
>
next prev parent reply other threads:[~2013-12-01 15:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-21 17:25 [PATCH] pylibmount: correctly import from pylibmount.so Dave Reisner
2013-12-01 15:49 ` Dave Reisner [this message]
2013-12-02 10:15 ` Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131201154944.GJ620@rampage \
--to=d@falconindy.com \
--cc=dreisner@archlinux.org \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox