aboutsummaryrefslogtreecommitdiff
path: root/utils/get-developers
diff options
context:
space:
mode:
authorGravatar Ricardo Martincoski <ricardo.martincoski@gmail.com>2018-01-21 22:44:38 -0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2018-01-29 23:14:24 +0100
commit49ffceef57157e5f74c86312ec711f6dd8857668 (patch)
tree4c9af47a24047b5eba2ce56963048c6a0992d467 /utils/get-developers
parentdeb31a979a33fc01c22da7c9875474145ea81ebe (diff)
downloadbuildroot-49ffceef57157e5f74c86312ec711f6dd8857668.tar.gz
buildroot-49ffceef57157e5f74c86312ec711f6dd8857668.tar.bz2
get-developers: fix code style
Fix these warnings: E202 whitespace before ']' E203 whitespace before ':' E302 expected 2 blank lines, found 1 E305 expected 2 blank lines after class or function definition, found 1 E711 comparison to None should be 'if cond is None:' E741 ambiguous variable name 'l' F401 'sys' imported but unused W391 blank line at end of file Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'utils/get-developers')
-rwxr-xr-xutils/get-developers4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/get-developers b/utils/get-developers
index 6a028b4526..f525ff2226 100755
--- a/utils/get-developers
+++ b/utils/get-developers
@@ -5,6 +5,7 @@ import getdeveloperlib
import sys
import os
+
def parse_args():
parser = argparse.ArgumentParser()
parser.add_argument('patches', metavar='P', type=argparse.FileType('r'), nargs='*',
@@ -19,6 +20,7 @@ def parse_args():
const=True, help='list files not handled by any developer')
return parser.parse_args()
+
def __main__():
devs = getdeveloperlib.parse_developers()
if devs is None:
@@ -95,5 +97,5 @@ def __main__():
if result != "":
print("git send-email %s" % result)
-__main__()
+__main__()