Skip to content

Commit

Permalink
pre-commit stylistic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chisholm committed Jan 29, 2021
1 parent 0dd6462 commit 624d71e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stix2/versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def new_version(data, allow_custom=None, **kwargs):
else:
new_modified = get_timestamp()
new_modified = _fudge_modified(
old_modified, new_modified, stix_version!="2.0"
old_modified, new_modified, stix_version != "2.0",
)

kwargs['modified'] = new_modified
Expand Down

0 comments on commit 624d71e

Please sign in to comment.