Skip to content

Commit

Permalink
Remove small bit of redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
chisholm committed Jan 26, 2021
1 parent 66cedec commit ac99e12
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion stix2/versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ def _is_21(data):
if isinstance(data, stix2.base._STIXBase) and \
not isinstance(data, stix2.v20._STIXBase20):
# (is_21 means 2.1 or later; try not to be 2.1-specific)
stix_vid = None
is_21 = True
elif isinstance(data, dict):
stix_vid = stix2.parsing._detect_spec_version(data)
Expand Down

0 comments on commit ac99e12

Please sign in to comment.