Skip to content

Commit

Permalink
CP-9045/remove-deprecations-during-tests: Removed code to support old…
Browse files Browse the repository at this point in the history
…er versions of Python
  • Loading branch information
ericvautour-quandl authored and couture-ql committed Jan 28, 2022
1 parent 76010cb commit edec63f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions nasdaqdatalink/utils/request_type_util.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
try:
from urllib import urlencode
except ImportError:
from urllib.parse import urlencode

from urllib.parse import urlencode
from nasdaqdatalink.api_config import ApiConfig


Expand Down
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
pip install nasdaq-data-link
""")

try:
from setuptools import setup
except ImportError:
from distutils.core import setup

from setuptools import setup
with open('LONG_DESCRIPTION.rst') as f:
LONG_DESCRIPTION = f.read()

Expand Down

0 comments on commit edec63f

Please sign in to comment.