ee57596d6a
store: - Use utils.get_type_from_id() instead of my own (I didn't know it was already there) - Use dict-style instead of attribute-style access to get stix object properties - Convert timezone-aware timestamps to UTC in _timestamp2filename() to ensure that different times always result in different filenames. Also added a couple new tests for _timestamp2filename(), which exercises the timezone conversion code. |
||
---|---|---|
.. | ||
datastore | ||
markings | ||
test | ||
v20 | ||
__init__.py | ||
base.py | ||
core.py | ||
environment.py | ||
exceptions.py | ||
patterns.py | ||
properties.py | ||
utils.py | ||
version.py | ||
workbench.py |