Skip to content

Commit 2334238

Browse files
committed
Fix syntax warning over comparison of literals using is.
1 parent cf7786e commit 2334238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentok/archives.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def attrs(self):
130130
"""
131131
Returns a dictionary of the archive's attributes.
132132
"""
133-
return dict((k, v) for k, v in iteritems(self.__dict__) if k is not "sdk")
133+
return dict((k, v) for k, v in iteritems(self.__dict__) if k != "sdk")
134134

135135
def json(self):
136136
"""

0 commit comments

Comments
 (0)