From deb1249e657c4c3c11b0d8c6570ce3045420d659 Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Wed, 24 Sep 2014 11:54:48 +0200 Subject: [PATCH] browser2: Fix error message text --- weboob/tools/browser2/page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/tools/browser2/page.py b/weboob/tools/browser2/page.py index cbc671de..dffd82e7 100644 --- a/weboob/tools/browser2/page.py +++ b/weboob/tools/browser2/page.py @@ -73,7 +73,7 @@ class URL(object): If arguments are provided, and only then, they are checked against the arguments that were used to build the current page URL. """ - assert self.klass is not None, "You can use this method only if the is a Page class handler." + assert self.klass is not None, "You can use this method only if there is a Page class handler." if len(kwargs): params = self.match(self.build(**kwargs)).groupdict()