Style change.

stix2.1
Emmanuelle Vargas-Gonzalez 2017-06-02 10:22:31 -04:00
parent 51e28f64da
commit e11b3adb3f
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class _STIXBase(collections.Mapping):
# If attribute not found, check if its a property of the object.
if name in self._properties:
return None
raise AttributeError("'%s' object has no attribute '%s'" %
(self.__class__.__name__, name))