[trebor74hr@gmail.com: [wwwsearch-general] Mechanize - bugfix - _auth.py - parse_keqv_list is not defined]

3 views
Skip to first unread message

C. Titus Brown

unread,
Mar 30, 2009, 4:14:20 PM3/30/09
to twill-dev
----- Forwarded message from Robert <trebo...@gmail.com> -----

X-Original-To: ti...@caltech.edu
Date: Tue, 6 Nov 2007 16:48:41 +0100
From: Robert <trebo...@gmail.com>
To: wwwsearc...@lists.sourceforge.net
Subject: [wwwsearch-general] Mechanize - bugfix - _auth.py - parse_keqv_list
is not defined

Hi,

I have downloaded twill which is wrapper around mechanize. I tried to access
login page:
>> go http://localhost:8000/test/login

ERROR: global name 'parse_keqv_list' is not defined

after some research i found bug in mechanize/_auth.py:

from urllib2 import BaseHandler
->
from urllib2 import BaseHandler, parse_keqv_list, parse_http_list

because of usage in line:
chal = parse_keqv_list(parse_http_list(challenge))

Regards,
Robert

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
wwwsearch-general mailing list
wwwsearc...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wwwsearch-general


----- End forwarded message -----

--
C. Titus Brown, c...@msu.edu

Reply all
Reply to author
Forward
0 new messages