File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 10
10
'mysql' ,
11
11
'httplib' ,
12
12
'pymongo' ,
13
- 'psycopg2'
13
+ 'psycopg2' ,
14
14
)
15
15
16
16
NO_DOUBLE_PATCH = (
19
19
'sqlite3' ,
20
20
'mysql' ,
21
21
'pymongo' ,
22
+ 'psycopg2' ,
22
23
)
23
24
24
25
_PATCHED_MODULES = set ()
@@ -34,6 +35,7 @@ def patch_all(double_patch=False):
34
35
def patch (modules_to_patch , raise_errors = True ):
35
36
modules = set ()
36
37
for module_to_patch in modules_to_patch :
38
+ print ('adding {}' .format (module_to_patch ))
37
39
# boto3 depends on botocore and patching botocore is sufficient
38
40
if module_to_patch == 'boto3' :
39
41
modules .add ('botocore' )
@@ -65,7 +67,7 @@ def _patch_module(module_to_patch, raise_errors=True):
65
67
66
68
67
69
def _patch (module_to_patch ):
68
-
70
+ print ( 'patching {}' . format ( module_to_patch ))
69
71
path = 'aws_xray_sdk.ext.%s' % module_to_patch
70
72
71
73
if module_to_patch in _PATCHED_MODULES :
You can’t perform that action at this time.
0 commit comments