Skip to content

Commit

Permalink
Use != instead of 'is not'. Fixes microsoft#1374
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Apr 22, 2019
1 parent 60da1fe commit ea8d55c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def _get_jy_dictionary(self, obj):
try:
d = dir(original)
for name in d:
if found.get(name) is not 1:
if found.get(name) != 1:
ret[name] = getattr(original, name)
except:
# sometimes we're unable to do a dir
Expand Down

0 comments on commit ea8d55c

Please sign in to comment.