Skip to content

Commit

Permalink
Merge branch 'pattern_walk_method'
Browse files Browse the repository at this point in the history
  • Loading branch information
gtback committed Nov 13, 2017
2 parents 485b1a2 + 290f347 commit 1821003
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'enum34 ; python_version ~= "3.3.0"',
'python-dateutil',
'six',
'stix2-patterns>=0.5.0',
'stix2-patterns>=0.6.0',
'typing ; python_version < "3.5" and python_version >= "3"',
],
tests_require=[
Expand Down
2 changes: 1 addition & 1 deletion stix2matcher/matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -2122,7 +2122,7 @@ def match(self, observed_data_sdos, verbose=False):
:raises MatcherException: If an error occurs during matching
"""
matcher = MatchListener(observed_data_sdos, verbose)
antlr4.ParseTreeWalker.DEFAULT.walk(matcher, self.__parse_tree)
self.walk(matcher)

found_bindings = matcher.matched()
if found_bindings:
Expand Down

0 comments on commit 1821003

Please sign in to comment.