aboutsummaryrefslogtreecommitdiff
path: root/utils/get-developers
diff options
context:
space:
mode:
authorGravatar Arnout Vandecappelle <arnout@mind.be>2017-07-01 19:29:50 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-01 19:43:51 +0200
commitd01452ce6ee076c244236773bb8a229869584f1c (patch)
treeb82e64c3037369ed14f65bacf6eb3e4d2e1b6ca2 /utils/get-developers
parent91a5ec960b4c5374aaee040daaf0ff301167cf53 (diff)
downloadbuildroot-d01452ce6ee076c244236773bb8a229869584f1c.tar.gz
buildroot-d01452ce6ee076c244236773bb8a229869584f1c.tar.bz2
get-developers: fix handling of syntax error
When getdeveloperlib.parse_developers doesn't find anything, the script tries sys.exit(1) but sys is not imported. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'utils/get-developers')
-rwxr-xr-xutils/get-developers1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/get-developers b/utils/get-developers
index 40ed08ffe1..fa6fc2fc68 100755
--- a/utils/get-developers
+++ b/utils/get-developers
@@ -2,6 +2,7 @@
import argparse
import getdeveloperlib
+import sys
def parse_args():
parser = argparse.ArgumentParser()