Skip to content

Commit

Permalink
fixed issue where pip cannot install python-stix without python-cybox…
Browse files Browse the repository at this point in the history
… being installed. Closes #24
  • Loading branch information
Bryan Worrell committed Jun 27, 2013
1 parent 6b8e243 commit f5a10df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stix/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import json
from StringIO import StringIO

import stix.bindings.stix_core as core_binding

class Entity(object):
"""Base class for all classes in the STIX API."""
Expand All @@ -22,6 +21,7 @@ def to_xml(self):
"""Export an object as an XML String"""
s = StringIO()
# For now, just export all the namespaces
import stix.bindings.stix_core as core_binding
self.to_obj().export(s, 0, core_binding.DEFAULT_XML_NS_MAP)
return s.getvalue()

Expand Down

0 comments on commit f5a10df

Please # to comment.