lint: Fix existing lint error in codebase.

This commit is contained in:
Tim Abbott 2017-07-25 10:55:35 -07:00
parent a50cf906a6
commit 142d10f546

View file

@ -121,7 +121,7 @@ class StateHandler(object):
@contextmanager @contextmanager
def state(self, default): def state(self, default):
#type: (Any) -> Any # type: (Any) -> Any
new_state = self.get_state() or default new_state = self.get_state() or default
yield new_state yield new_state
self.set_state(new_state) self.set_state(new_state)