Lint: E306 expected 1 blank line before a nested definition, found 0

This commit is contained in:
Joshua Boniface 2020-11-07 12:17:38 -05:00
parent 4a5d50d0e6
commit 39cc992e9b
2 changed files with 3 additions and 1 deletions

View File

@ -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()

View File

@ -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: