Commit 65ec4196 authored by Ralf's avatar Ralf
Browse files

avoid unnecessary default values

parent 06c9d9d8
......@@ -326,7 +326,7 @@ class StateMachine():
class StateLocking(AbstractUnlockedState):
def __init__(self, sm, close_attempts = 0):
def __init__(self, sm, close_attempts):
self.close_attempts = close_attempts
# construct a nervlist
nervlist = [(CLOSE_REPEAT_TIMEOUT, lambda: for t in range(CLOSE_REPEAT_NUMBER)]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment