Re: [PATCH] backports: specify python2.7 for gentree.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2013-06-02 at 16:12 -0700, Thomas Pedersen wrote:
> Apparently gentree.py uses some python2.7 specific syntax. Fixes:
> 
> ./gentree.py -h
>   File "./gentree.py", line 72
>     except OSError, e:

This is curious, it already uses

except OSError as e:

in most places, just not this one.

I think we should just make this compatible with both 2.7+ and 3, which
shouldn't be too hard. I tried a bit and the patchlib is the biggest
issue, will try some more after all my meetings.

johannes

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux