Commit 85d24037 authored by ntome's avatar ntome

python3: import compat unicode/basestring in modules

parent e1856a35
......@@ -19,6 +19,7 @@
import re
from weboob.tools.compat import unicode
from weboob.browser import PagesBrowser, URL
from weboob.tools.compat import quote_plus
from .pages import IndexPage, VideoPage
......
......@@ -19,6 +19,7 @@
from dateutil.parser import parse as parse_date
from weboob.tools.compat import unicode
from weboob.browser.pages import JsonPage, HTMLPage
from weboob.capabilities.parcel import Parcel, Event, ParcelNotFound
......
......@@ -19,6 +19,7 @@
from dateutil.parser import parse as parse_date
from weboob.tools.compat import unicode
from weboob.browser.pages import JsonPage
from weboob.capabilities.parcel import Parcel, Event, ParcelNotFound
......
......@@ -19,6 +19,7 @@
from __future__ import unicode_literals
from weboob.tools.compat import basestring
from weboob.tools.backend import Module, BackendConfig
from weboob.capabilities.base import find_object
from weboob.capabilities.bill import CapDocument, SubscriptionNotFound,\
......
......@@ -19,6 +19,7 @@
from dateutil.parser import parse as parse_date
from weboob.tools.compat import unicode
from weboob.browser.pages import JsonPage
from weboob.capabilities.parcel import Parcel, Event
......
......@@ -21,6 +21,7 @@
import datetime
import re
from decimal import Decimal
from weboob.tools.compat import unicode
from weboob.browser.pages import HTMLPage, LoggedPage
from weboob.capabilities.bank import Account
from weboob.tools.capabilities.bank.transactions import AmericanTransaction as EnglishTransaction
......
......@@ -17,6 +17,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
from weboob.tools.compat import unicode
from weboob.capabilities.pricecomparison import Product
......
......@@ -21,6 +21,7 @@
import datetime
from dateutil.relativedelta import relativedelta
from weboob.tools.compat import basestring
from weboob.exceptions import BrowserHTTPError, BrowserIncorrectPassword, BrowserUnavailable
from weboob.browser.browsers import LoginBrowser, need_login
from weboob.browser.url import URL
......
......@@ -22,6 +22,7 @@ from decimal import Decimal, ROUND_DOWN
import json
import re
from weboob.tools.compat import unicode
from weboob.capabilities.bank import Account
from weboob.capabilities.base import NotAvailable, Currency
from weboob.exceptions import BrowserUnavailable, ActionNeeded
......
......@@ -18,6 +18,7 @@
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
from weboob.tools.compat import unicode
from weboob.capabilities.image import CapImage, BaseImage, Thumbnail
from weboob.tools.backend import Module, BackendConfig
from weboob.tools.value import Value, ValueBackendPassword
......
......@@ -20,6 +20,7 @@
import datetime
from weboob.tools.compat import unicode
from weboob.capabilities.messages import CapMessages, CapMessagesPost, Thread, Message
from weboob.capabilities.dating import CapDating, Optimization
from weboob.capabilities.account import CapAccount, StatusField
......
......@@ -17,6 +17,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
from weboob.tools.compat import basestring
from weboob.browser import LoginBrowser, URL, need_login
from weboob.exceptions import BrowserIncorrectPassword
from .pages import HomePage, LoginPage, HistoryPage, BillsPage, ErrorPage
......
......@@ -21,6 +21,7 @@
from dateutil.parser import parse as parse_date
from dateutil.relativedelta import relativedelta
from weboob.tools.compat import basestring
from weboob.browser import LoginBrowser, URL, need_login
from weboob.tools.compat import urlparse, parse_qs, urlencode, urlunparse
......
......@@ -23,6 +23,7 @@ from dateutil.parser import parse as parse_date
from dateutil.relativedelta import relativedelta
from dateutil.tz import tzlocal
from weboob.tools.compat import unicode
from weboob.capabilities.messages import CapMessages, CapMessagesPost, Thread, Message
from weboob.capabilities.dating import CapDating, Optimization
from weboob.tools.backend import Module, BackendConfig
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment