Skip to content
New issue

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

Vocabstrings #240

Merged
merged 12 commits into from
Apr 16, 2015
Prev Previous commit
Add TODO to VocabField implementation.
gtback committed Apr 16, 2015

Verified

This commit was signed with the committer’s verified signature.
oliverholworthy Oliver Holworthy
commit cfe4e9d52f9e151b193b7a344fcb8655694ef1ce
2 changes: 2 additions & 0 deletions cybox/common/vocabs.py
Original file line number Diff line number Diff line change
@@ -29,6 +29,8 @@ def __init__(self, *args, **kwargs):
else:
self.__vocab_impl = VocabString

# TODO: can we take this out. It shouldn't be necessary since type_
# should always be a subclass of VocabString.
self.type_ = VocabString # Force this

def __set__(self, instance, value):