Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
gtback committed Jul 30, 2013
2 parents 807383e + 2784544 commit 2f33c4f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions stix/extensions/identity/ciq_identity_3_0.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def to_obj(self, return_obj=None):

@classmethod
def from_obj(cls, obj, return_obj=None):
if not obj:
if obj is None:
return None

if not return_obj:
Expand All @@ -94,7 +94,7 @@ def from_obj(cls, obj, return_obj=None):
for role in roles:
return_obj.add_role(role)

if specification:
if specification is not None:
return_obj.specification = STIXCIQIdentity3_0.from_obj(specification)

return return_obj
Expand Down Expand Up @@ -159,7 +159,7 @@ def party_name(self, value):

@classmethod
def from_obj(cls, obj, return_obj=None):
if not obj:
if obj is None:
return None

if not return_obj:
Expand Down Expand Up @@ -257,7 +257,7 @@ def to_obj(self, return_obj=None):

@classmethod
def from_obj(cls, obj, return_obj=None):
if not obj:
if obj is None:
return None

if not return_obj:
Expand Down Expand Up @@ -361,7 +361,7 @@ def to_obj(self, return_obj=None):

@classmethod
def from_obj (cls, obj, return_obj=None):
if not obj:
if obj is None:
return None

if not return_obj:
Expand Down Expand Up @@ -429,7 +429,7 @@ def to_obj(self, return_obj=None):

@classmethod
def from_obj(cls, obj, return_obj=None):
if not obj:
if obj is None:
return None

if not return_obj:
Expand Down Expand Up @@ -514,7 +514,7 @@ def to_obj(self, return_obj=None):

@classmethod
def from_obj(cls, obj, return_obj=None):
if not obj:
if obj is None:
return None

if not return_obj:
Expand Down Expand Up @@ -651,7 +651,7 @@ def to_obj(self, return_obj=None):

@classmethod
def from_obj(cls, obj, return_obj=None):
if not obj:
if obj is None:
return None

if not return_obj:
Expand Down Expand Up @@ -725,7 +725,7 @@ def to_obj(self, return_obj=None):

@classmethod
def from_obj(cls, obj, return_obj=None):
if not obj:
if obj is None:
return None

if not return_obj:
Expand Down Expand Up @@ -803,7 +803,7 @@ def to_obj(self, return_obj=None):

@classmethod
def from_obj(cls, obj, return_obj=None):
if not obj:
if obj is None:
return None

if not return_obj:
Expand Down
2 changes: 1 addition & 1 deletion stix/indicator/indicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def observables(self, valuelist):

@property
def indicator_type(self):
return self._indicator_tye
return self._indicator_type

@indicator_type.setter
def indicator_type(self, value):
Expand Down

0 comments on commit 2f33c4f

Please sign in to comment.