Skip to content

Commit 04494e5

Browse files
authored
Merge branch 'master' into master
2 parents 5e35333 + f4a3fb4 commit 04494e5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

aws_xray_sdk/core/async_recorder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def capture_async(self, name=None):
5353

5454
def in_segment_async(self, name=None, **segment_kwargs):
5555
"""
56-
Return a segment async context manger.
56+
Return a segment async context manager.
5757
5858
:param str name: the name of the segment
5959
:param dict segment_kwargs: remaining arguments passed directly to `begin_segment`
@@ -62,7 +62,7 @@ def in_segment_async(self, name=None, **segment_kwargs):
6262

6363
def in_subsegment_async(self, name=None, **subsegment_kwargs):
6464
"""
65-
Return a subsegment async context manger.
65+
Return a subsegment async context manager.
6666
6767
:param str name: the name of the segment
6868
:param dict segment_kwargs: remaining arguments passed directly to `begin_segment`

aws_xray_sdk/core/plugins/ec2_plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import json
22
import logging
33
from future.standard_library import install_aliases
4-
from urllib.request import urlopen, Request
5-
64
install_aliases()
75

6+
from urllib.request import urlopen, Request
7+
88
log = logging.getLogger(__name__)
99

1010
SERVICE_NAME = 'ec2'

aws_xray_sdk/core/recorder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class to have your own implementation of the streaming process.
184184

185185
def in_segment(self, name=None, **segment_kwargs):
186186
"""
187-
Return a segment context manger.
187+
Return a segment context manager.
188188
189189
:param str name: the name of the segment
190190
:param dict segment_kwargs: remaining arguments passed directly to `begin_segment`
@@ -193,7 +193,7 @@ def in_segment(self, name=None, **segment_kwargs):
193193

194194
def in_subsegment(self, name=None, **subsegment_kwargs):
195195
"""
196-
Return a subsegment context manger.
196+
Return a subsegment context manager.
197197
198198
:param str name: the name of the subsegment
199199
:param dict subsegment_kwargs: remaining arguments passed directly to `begin_subsegment`

0 commit comments

Comments
 (0)