CybOXProject / python-cybox

A Python library for parsing, manipulating, and generating CybOX content.

Home Page:http://cybox.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WinVolume.drive_Type attribute should be drive_type

bworrell opened this issue · comments

I get an AttributeError when I try to serialize a WinVolume object:

# SNIP

  File "/home/bworrell/.virtualenvs/openioc-to-stix/lib/python2.7/site-packages/cybox/__init__.py", line 142, in to_obj
    val = getattr(self, field.attr_name)
AttributeError: 'WinVolume' object has no attribute 'drive_type'

#276 was merged a long time ago; not sure why this is still open 😀