Skip to content

Commit

Permalink
Fix Py27 incompatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
csadorf committed May 19, 2019
1 parent 6f36f10 commit e67ddd4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion signac/contrib/filterparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# This software is licensed under the BSD 3-Clause License.
from __future__ import print_function
import sys
from urllib.parse import urlencode

from ..core import json
from ..common import six
from ..common.six.moves.urllib.parse import urlencode
if six.PY2:
from collections import Mapping, Iterable
else:
Expand Down
2 changes: 1 addition & 1 deletion signac/contrib/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from contextlib import contextmanager
from itertools import groupby
from multiprocessing.pool import ThreadPool
from urllib.parse import urlparse

from .. import syncutil
from ..core import json
Expand All @@ -37,6 +36,7 @@
from .filterparse import parse_filter
from .filterparse import urlencode_filter
from .filterparse import _parse_filter_query
from six.moves.urllib.parse import urlparse
if six.PY2:
from collections import Mapping, Iterable
else:
Expand Down
2 changes: 1 addition & 1 deletion signac/uri.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# This software is licensed under the BSD 3-Clause License.
import os
import re
from urllib.parse import urlparse, urlunparse

from .contrib.project import Project
from .common.six.moves.urllib.parse import urlparse, urlunparse


_PATH_SCHEMA = r'(?P<root>.*?)(\/api\/v(?P<api_version>\d+)(?P<path>.*))'
Expand Down

0 comments on commit e67ddd4

Please sign in to comment.