fix import of ControlNotFound on old versions of mechanize

This commit is contained in:
Romain Bignon 2013-04-09 17:23:13 +02:00
commit cedaaab0fb

View file

@ -18,7 +18,9 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from mechanize import ControlNotFoundError
from weboob.tools.mech import ClientForm
ControlNotFoundError = ClientForm.ControlNotFoundError
from decimal import Decimal
import re