[Pywikipedia-l] Request for feedback on rewrite branch

Russell Blau russblau at imapmail.org
Tue Apr 20 15:28:34 UTC 2010


From: "Andre Engels" <andreengels at gmail.com>
Sent: Tuesday, April 20, 2010 10:54 AM


> On Tue, Apr 20, 2010 at 4:36 PM, Morten Wang <nettrom at gmail.com> wrote:
>> On Tue, Apr 20, 2010 at 9:10 AM, Russell Blau <russblau at imapmail.org> 
>> wrote:
>
> That looks like a Python programming error - this way it looks for the
> exact string "Yy". What is meant is probably
>
>  if ok in 'Yy':
>
> or equivalently, as you proposed:
>
>  if ok in ['Y', 'y']:
>

Doh!  Fixed in latest commit.





More information about the Pywikipedia-l mailing list