diff --git a/stix2/STIXPatternVisitor.py b/stix2/STIXPatternVisitor.py index 5339395..a94aa40 100644 --- a/stix2/STIXPatternVisitor.py +++ b/stix2/STIXPatternVisitor.py @@ -13,7 +13,8 @@ from stix2.patterns import _BooleanExpression from antlr4 import CommonTokenStream, InputStream # need to import all classes because we need to access them via globals() -from .patterns import * +from .patterns import * # noqa + def collapse_lists(lists): result = [] @@ -33,7 +34,6 @@ def values_only(things): return values - # This class defines a complete generic visitor for a parse tree produced by STIXPatternParser.