Simplify FilterSet instance in MemorySource

stix2.0
Emmanuelle Vargas-Gonzalez 2018-04-23 14:12:16 -04:00
parent 8a9acfe487
commit fb79e703b8
1 changed files with 1 additions and 4 deletions

View File

@ -268,9 +268,6 @@ class MemorySource(DataSource):
is returned in the same form as it as added. is returned in the same form as it as added.
""" """
if query is None:
query = FilterSet()
else:
query = FilterSet(query) query = FilterSet(query)
# combine all query filters # combine all query filters