Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kholdaway committed Dec 8, 2017
1 parent 27e6f9b commit 2bc79dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quipucords/api/common/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def to_representation(self, instance):
result = OrderedDict([(key, result[key])
for key in result
if key in self.qpc_allow_empty_fields or
isinstance(result[key], bool) or
isinstance(result[key], int) or
isinstance(result[key], (bool, int)) or
bool(result[key])])
return result

0 comments on commit 2bc79dc

Please sign in to comment.