lint: Fix existing lint error in codebase.
This commit is contained in:
parent
a50cf906a6
commit
142d10f546
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue