Skip to content

Commit 4f078bc

Browse files
authored
Merge pull request #435 from manulera/issue_430_2
fix style
2 parents 0676dce + b60fdf7 commit 4f078bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbol2/object.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def compare(self, other):
250250
:return: True if the objects are identical, False if they are different.
251251
252252
"""
253-
if type(other) != type(self):
253+
if type(other) is not type(self):
254254
return False
255255
if self.rdf_type != other.rdf_type:
256256
return False

0 commit comments

Comments
 (0)