Cleanup: use static sets where possible

This commit is contained in:
2014-09-18 17:45:31 +10:00
parent cf0ce0afc7
commit 90f75b8ce0
5 changed files with 7 additions and 7 deletions

View File

@@ -266,7 +266,7 @@ def prop_to_list(prop):
ret= []
for x in prop:
if type(x) not in (bool, int, float):
if type(x) not in {bool, int, float}:
ret.append(prop_to_list(x))
else:
ret.append(x)