Skip to content

Commit edec63f

Browse files
ericvautour-quandlcouture-ql
authored andcommitted
CP-9045/remove-deprecations-during-tests: Removed code to support older versions of Python
1 parent 76010cb commit edec63f

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

nasdaqdatalink/utils/request_type_util.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
try:
2-
from urllib import urlencode
3-
except ImportError:
4-
from urllib.parse import urlencode
5-
1+
from urllib.parse import urlencode
62
from nasdaqdatalink.api_config import ApiConfig
73

84

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@
1414
pip install nasdaq-data-link
1515
""")
1616

17-
try:
18-
from setuptools import setup
19-
except ImportError:
20-
from distutils.core import setup
21-
17+
from setuptools import setup
2218
with open('LONG_DESCRIPTION.rst') as f:
2319
LONG_DESCRIPTION = f.read()
2420

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy