Switch to unified view

a/src/cdplugins/pycommon/routing.py b/src/cdplugins/pycommon/routing.py
...
...
16
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
from __future__ import print_function
17
from __future__ import print_function
18
18
19
import re
19
import re
20
import sys
20
import sys
21
try:
21
from urlparse import urlsplit, parse_qs
22
    from urlparse import urlsplit, parse_qs
22
from urllib import urlencode
23
    from urllib import urlencode
24
except ImportError:
25
    from urllib.parse import urlsplit, parse_qs, urlencode
26
23
27
24
try:
28
try:
25
    import xbmc
29
    import xbmc
26
    import xbmcaddon
30
    import xbmcaddon
27
    _addon_id = xbmcaddon.Addon().getAddonInfo('id')
31
    _addon_id = xbmcaddon.Addon().getAddonInfo('id')