Follow @Openwall on Twitter for new release announcements and other news
[<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

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.