public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Dave Reisner <dreisner@archlinux.org>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH] pylibmount: correctly import from pylibmount.so
Date: Mon, 2 Dec 2013 11:15:25 +0100	[thread overview]
Message-ID: <20131202101525.GZ5572@x2.net.home> (raw)
In-Reply-To: <1385054727-20661-1-git-send-email-dreisner@archlinux.org>

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'

 Hmm... it seems we have always tested this with PYTHONPATH=...

> -from pylibmount import *
> +from .pylibmount import *

 Applied, thanks.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

      parent reply	other threads:[~2013-12-02 10:15 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
2013-12-02 10:15 ` Karel Zak [this message]

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=20131202101525.GZ5572@x2.net.home \
    --to=kzak@redhat.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