Skip to content

Commit 4b12127

Browse files
authored
fix requests imports (DataDog#3707)
1 parent 0e69439 commit 4b12127

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ tests/core/fixtures/flare/dd*
3939
.python-version
4040
.ropeproject
4141
.bundle
42+
.idea
4243
tags
4344

4445
checks.d

utils/service_discovery/abstract_config_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from os import path
1111

1212
# 3p
13-
from requests.packages.urllib3.exceptions import TimeoutError
13+
from urllib3.exceptions import TimeoutError
1414

1515
# project
1616
from utils.checkfiles import get_check_class, get_auto_conf, get_auto_conf_images

utils/service_discovery/etcd_config_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# All rights reserved
33
# Licensed under Simplified BSD License (see LICENSE)
44

5-
from requests.packages.urllib3.exceptions import TimeoutError
5+
from urllib3.exceptions import TimeoutError
66
import logging
77

88
from etcd import EtcdKeyNotFound, EtcdConnectionFailed

0 commit comments

Comments
 (0)