Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lzchen committed Nov 28, 2019
1 parent f375128 commit ce33371
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def get_label_set(self, labels: Dict[str, str]):
# Use simple encoding for now until encoding API is implemented
encoded = tuple(sorted(labels.items()))
# If LabelSet exists for this meter in memory, use existing one
if not encoded in self.labels:
if encoded not in self.labels:
self.labels[encoded] = LabelSet(labels=labels)
return self.labels[encoded]

Expand Down

0 comments on commit ce33371

Please sign in to comment.