Merge pull request #146 from oasis-open/mbastian1135-patch-1

remove debug line
stix2.0
Greg Back 2018-03-22 07:55:53 -05:00 committed by GitHub
commit 369eb604ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -318,7 +318,6 @@ class FileSystemSource(DataSource):
stix_obj["id"] stix_obj["id"]
except (ValueError, KeyError): # likely not a JSON file except (ValueError, KeyError): # likely not a JSON file
print("filesytem TypeError raised")
raise TypeError("STIX JSON object at '{0}' could either not be parsed to " raise TypeError("STIX JSON object at '{0}' could either not be parsed to "
"JSON or was not valid STIX JSON".format(os.path.join(root, file_))) "JSON or was not valid STIX JSON".format(os.path.join(root, file_)))