zeya team mailing list archive
-
zeya team
-
Mailing list archive
-
Message #00088
Re: [PATCH] support python 2.5 and 2.6 os.walk variations
On Fri, Sep 24, 2010 at 16:25, Greg Grossmeier <greg@xxxxxxxxxxxxxx> wrote:
> This is a patch for bug 647129,
> https://bugs.edge.launchpad.net/zeya/+bug/647129
>
> Basically, os.walk() in python 2.6 allows you to specify if you want to
> follow symlinks or not while 2.5 and lower does not.
>
> This is a simple fix to test what version of python is being used and
> call os.walk() accordingly. It works for me, but others testing it would
> be greatly appreciated.
Thanks for the bug report, and patch!
I committed a similar patch to my branch 'followlinks-compatibility'--
commit e9e8033. (In general I'd prefer to test for specific features
directly rather than relying on version numbers, if possible.) Please
verify when you get a chance.
Cheers,
Phil
Follow ups
References