Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 8 Mar 2013 07:44:13 +0530
From: Dhiru Kholia <dhiru.kholia@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Odf2John

On Fri, Mar 8, 2013 at 12:24 AM, magnum <john.magnum@...hmail.com> wrote:
> After some googling I think I'll add another commit:
>
> -    elements = list(r.getiterator())
> +    # getiterator() is deprecated but 2.6 does not have iter()
> +    try :
> +        elements = list(r.iter())
> +    except :
> +        elements = list(r.getiterator())
>
> ...it should work even with future code.

Yes, this should be good enough.

Thanks Rich and magnum for fixing the problem.

-- 
Dhiru

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ