@@ -153,7 +153,7 @@ def _build(self, raw_matcher):
153153 :param raw_matcher: raw matcher as fetched from splitChanges response.
154154 :type raw_matcher: dict
155155 """
156- self ._data = raw_matcher [ 'stringMatcherData' ]
156+ self ._data = raw_matcher ( 'stringMatcherData' )
157157 self ._semver = Semver (self ._data )
158158
159159 def _match (self , key , attributes = None , context = None ):
@@ -198,7 +198,7 @@ def _build(self, raw_matcher):
198198 :param raw_matcher: raw matcher as fetched from splitChanges response.
199199 :type raw_matcher: dict
200200 """
201- self ._data = raw_matcher [ 'stringMatcherData' ]
201+ self ._data = raw_matcher . get ( 'stringMatcherData' )
202202 self ._semver = Semver (self ._data )
203203
204204 def _match (self , key , attributes = None , context = None ):
@@ -243,7 +243,7 @@ def _build(self, raw_matcher):
243243 :param raw_matcher: raw matcher as fetched from splitChanges response.
244244 :type raw_matcher: dict
245245 """
246- self ._data = raw_matcher [ 'stringMatcherData' ]
246+ self ._data = raw_matcher . get ( 'stringMatcherData' )
247247 self ._semver = Semver (self ._data )
248248
249249 def _match (self , key , attributes = None , context = None ):
0 commit comments