Skip to content

Commit

Permalink
flake8 update
Browse files Browse the repository at this point in the history
  • Loading branch information
gwbischof committed Mar 5, 2020
1 parent 0c90035 commit 9d8ceac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions event_model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ def fill_event(self, doc, include=None, exclude=None, inplace=None):
self._current_state.descriptor = descriptor
try:
needs_filling = {key for key, val in doc['filled'].items()
if val==False}
if val is False}
except KeyError:
# This document is not telling us which, if any, keys are filled.
# Infer that none of the external data is filled.
Expand Down Expand Up @@ -811,7 +811,7 @@ def fill_event(self, doc, include=None, exclude=None, inplace=None):
from_datakeys = False
try:
needs_filling = {key for key, val in doc['filled'].items()
if val==False}
if val is False}
except KeyError:
# This document is not telling us which, if any, keys are filled.
# Infer that none of the external data is filled.
Expand Down

0 comments on commit 9d8ceac

Please sign in to comment.