Remove six.moves: urllib

This commit is contained in:
Odd Stråbø 2024-06-11 03:19:25 +00:00
parent a00a1951cb
commit 76ac99fc61
6 changed files with 7 additions and 6 deletions

View file

@ -6,8 +6,8 @@ from __future__ import division, absolute_import, print_function, unicode_litera
import json import json
import sys import sys
import os import os
from urllib.parse import parse_qsl, urlencode
from six.moves.urllib.parse import parse_qsl, urlencode
from kodi_six import xbmc, xbmcvfs, xbmcgui, xbmcplugin, xbmcaddon from kodi_six import xbmc, xbmcvfs, xbmcgui, xbmcplugin, xbmcaddon
from .. import client from .. import client

View file

@ -10,10 +10,10 @@ import sys
import re import re
import unicodedata import unicodedata
from uuid import uuid4 from uuid import uuid4
from urllib.parse import quote_plus
from dateutil import tz, parser from dateutil import tz, parser
from six import text_type, string_types, ensure_text, ensure_binary from six import text_type, string_types, ensure_text, ensure_binary
from six.moves.urllib.parse import quote_plus
from kodi_six import xbmc, xbmcaddon, xbmcgui, xbmcvfs from kodi_six import xbmc, xbmcaddon, xbmcgui, xbmcvfs

View file

@ -3,7 +3,8 @@ from __future__ import division, absolute_import, print_function, unicode_litera
################################################################################################## ##################################################################################################
from six.moves.urllib.parse import urlencode from urllib.parse import urlencode
from kodi_six.utils import py2_encode from kodi_six.utils import py2_encode
from .. import downloader as server from .. import downloader as server

View file

@ -5,8 +5,8 @@ from __future__ import division, absolute_import, print_function, unicode_litera
import datetime import datetime
import re import re
from urllib.parse import urlencode
from six.moves.urllib.parse import urlencode
from kodi_six.utils import py2_encode from kodi_six.utils import py2_encode
from ..database import jellyfin_db, queries as QUEM from ..database import jellyfin_db, queries as QUEM

View file

@ -5,8 +5,8 @@ from __future__ import division, absolute_import, print_function, unicode_litera
import sqlite3 import sqlite3
from ntpath import dirname from ntpath import dirname
from urllib.parse import urlencode
from six.moves.urllib.parse import urlencode
from kodi_six.utils import py2_encode from kodi_six.utils import py2_encode
from .. import downloader as server from .. import downloader as server

View file

@ -5,8 +5,8 @@ from __future__ import division, absolute_import, print_function, unicode_litera
import os import os
import xml.etree.ElementTree as etree import xml.etree.ElementTree as etree
from urllib.parse import urlencode
from six.moves.urllib.parse import urlencode
from kodi_six import xbmcvfs from kodi_six import xbmcvfs
from .database import Database, jellyfin_db, get_sync, save_sync from .database import Database, jellyfin_db, get_sync, save_sync