[twill] utils.py patch...

C. Titus Brown ctb at msu.edu
Sun Nov 16 20:15:14 PST 2008


thanks, Chris -- applied.

On Fri, Nov 14, 2008 at 02:29:16PM -0500, Chris McDonough wrote:
-> There are a couple of unused imports in utils.py, as well as a missing import of
-> TwillException.  The attached patch fixes that.
-> 
-> Thanks for twill!
-> 
-> - C
-> 

-> --- utils.py	2008-11-14 14:24:28.000000000 -0500
-> +++ utils-fixed.py	2008-11-14 14:25:07.000000000 -0500
-> @@ -5,7 +5,6 @@
->  code is implemented in the ConfigurableParsingFactory class.
->  """
->  
-> -from cStringIO import StringIO
->  import os
->  import base64
->  
-> @@ -15,7 +14,8 @@
->  from _mechanize_dist import ClientForm
->  from _mechanize_dist._util import time
->  from _mechanize_dist._http import HTTPRefreshProcessor
-> -from _mechanize_dist import BrowserStateError
-> +
-> +from errors import TwillException
->  
->  class ResultWrapper:
->      """
-> 

-> _______________________________________________
-> twill mailing list
-> twill at lists.idyll.org
-> http://lists.idyll.org/listinfo/twill


-- 
C. Titus Brown, ctb at msu.edu



More information about the twill mailing list