[git-buildpackage] [PATCH] config: modify configparser import statement

Guido Günther agx at sigxcpu.org
Wed Feb 25 16:12:33 CET 2015


On Tue, Feb 24, 2015 at 12:44:17PM +0200, Markus Lehtonen wrote:
> Hi,
> 
> On Mon, 2015-02-23 at 17:07 +0100, Guido Günther wrote:
> > Hi,
> > On Mon, Feb 23, 2015 at 05:11:04PM +0200, Markus Lehtonen wrote:
> > > Usage of six.moves.configparser in the previous way failed at least with
> > > some versions of python and python-six.
> > 
> > HOW does it fail? Which version of six? I'm using 1.8.0.
> 
> Like this:
> ---- SNIP ------------------------------------------
> $ python
> Python 2.7.6 (default, Nov 21 2013, 15:55:38) [GCC] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from six.moves.configparser import SafeConfigParser
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named configparser
> >>> 
> ---- SNIP ------------------------------------------
> 
> I have python-six v1.4.1 (openSUSE 13.1). Same problem seems to happen
> also on Debian-7, for example.

I've added the failure to the commit message and pushed this. Thanks!
 -- Guido


More information about the git-buildpackage mailing list