lint: Fix existing lint error in codebase.
This commit is contained in:
parent
a50cf906a6
commit
142d10f546
|
@ -121,7 +121,7 @@ class StateHandler(object):
|
|||
|
||||
@contextmanager
|
||||
def state(self, default):
|
||||
#type: (Any) -> Any
|
||||
# type: (Any) -> Any
|
||||
new_state = self.get_state() or default
|
||||
yield new_state
|
||||
self.set_state(new_state)
|
||||
|
|
Loading…
Reference in a new issue