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
[email protected]
http://lists.idyll.org/listinfo/twill

Reply via email to