lint: Fix existing lint error in codebase.
This commit is contained in:
parent
a50cf906a6
commit
142d10f546
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue