On Mon, Sep 27, 2010 at 1:22 PM, Rémy Oudompheng <remyoudompheng@gmail.com> wrote:
Dan McGee <dpmcgee@gmail.com> wrote:
On Mon, Sep 27, 2010 at 12:31 PM, Rémy Oudompheng <remyoudompheng@gmail.com> wrote:
If I'm diagnosing correctly, with python 2.6, the generated package files contain a ".PKGINFO" file, while python2.7 creates packages containing a file "./.PKGINFO" and libalpm complains saying the package is malformed.
Looking quickly at the code here, I'm a bit surprised how we do it. The behavior of os.walk() might have changed in what it is returning?
It prepends "./", probably because we call os.walk("."). There's a trivial fix, but I just find it terribly ugly.
A trivial fix that doesn't work for anything pre-2.7 though, which is bad news. -Dan