|
Message-ID: <e3da75efc3ac439c065d33bfb4dc75ae@smtp.hushmail.com> Date: Thu, 7 Mar 2013 19:37:27 +0100 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: Re: Odf2John On 7 Mar, 2013, at 19:33 , magnum <john.magnum@...hmail.com> wrote: > On 7 Mar, 2013, at 1:12 , Rich Rumble <richrumble@...il.com> wrote: >> I did a quick search and it looks like "getiterator" works instead of iter() for 2.6 >> >> Line 32 >> + elements = list(r.getiterator()) >> - elements = list(r.iter()) >> >> Again I'm no programmer/scripter but that change allows it to work for me. > > I don't know python well but with your change, 2.7 still works fine. So I committed this. Thanks! We might need to revise it in the future though: http://stackoverflow.com/questions/3077010/what-is-the-difference-between-getiterator-and-iter-wrt-to-lxml magnum
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.