We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/CybOXProject/python-cybox/blob/master/cybox/common/vocabs.py#L123 Note the right-hand side of the OR expression will return True if an XSI_TYPE and xsi_type is set making self.is_plain() return True which is False...
OR
True
XSI_TYPE
xsi_type
self.is_plain()
False
The text was updated successfully, but these errors were encountered:
It affects to_dict() because it makes use of it, but it can also affect the general code logic when used outside.
to_dict()
Sorry, something went wrong.
Can we add a test that demonstrates this? I remember why we made is_plain(), but I don't really understand the implications of this change.
is_plain()
8d3f805
emmanvg
No branches or pull requests
https://github.com/CybOXProject/python-cybox/blob/master/cybox/common/vocabs.py#L123
Note the right-hand side of the
OR
expression will returnTrue
if anXSI_TYPE
andxsi_type
is set makingself.is_plain()
returnTrue
which isFalse
...The text was updated successfully, but these errors were encountered: