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

Accessing ObjectProperties parent raises AttributeError #254

Closed
bworrell opened this issue Jun 6, 2015 · 1 comment
Closed

Accessing ObjectProperties parent raises AttributeError #254

bworrell opened this issue Jun 6, 2015 · 1 comment
Milestone

Comments

@bworrell
Copy link
Contributor

bworrell commented Jun 6, 2015

The object_properties module does not import cybox.core.

>>> from cybox.objects.address_object import Address
>>> addr = Address()
>>> addr.parent.id_
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/bworrell/projects/python-cybox/cybox/common/object_properties.py", line 90, in parent
    self._parent = cybox.core.Object(self)
AttributeError: 'module' object has no attribute 'core'
>>> cybox.__version__
'2.1.0.12.dev0'
bworrell pushed a commit that referenced this issue Jun 7, 2015
bworrell pushed a commit that referenced this issue Jun 7, 2015
bworrell pushed a commit that referenced this issue Jun 23, 2015
bworrell pushed a commit that referenced this issue Jun 23, 2015
@gtback gtback closed this as completed in c889ade Jun 23, 2015
@gtback
Copy link
Contributor

gtback commented Jun 23, 2015

@bworrell did all the work for this, despite it being my commit that closed it.

@gtback gtback modified the milestone: v2.1.0.13 May 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants