Lint: E306 expected 1 blank line before a nested definition, found 0
This commit is contained in:
parent
4a5d50d0e6
commit
39cc992e9b
|
@ -149,6 +149,7 @@ class RequestParser(object):
|
|||
def __call__(self, function):
|
||||
if not callable(function):
|
||||
return
|
||||
|
||||
@wraps(function)
|
||||
def wrapped_function(*args, **kwargs):
|
||||
parser = reqparse.RequestParser()
|
||||
|
|
|
@ -101,8 +101,9 @@ def renamekey(zk_conn, kv):
|
|||
|
||||
old_data = zk_conn.get(old_name)[0]
|
||||
|
||||
# Find the children of old_name recursively
|
||||
child_keys = list()
|
||||
|
||||
# Find the children of old_name recursively
|
||||
def get_children(key):
|
||||
children = zk_conn.get_children(key)
|
||||
if not children:
|
||||
|
|
Loading…
Reference in New Issue