get-developers: fix handling of syntax error
authorArnout Vandecappelle <arnout@mind.be>
Sat, 1 Jul 2017 17:29:50 +0000 (19:29 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Jul 2017 17:43:51 +0000 (19:43 +0200)
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>
utils/get-developers

index 40ed08ffe1e7db5d88af839402772c555634f90c..fa6fc2fc6889f099f66e57f7f4075ab64691d9a7 100755 (executable)
@@ -2,6 +2,7 @@
 
 import argparse
 import getdeveloperlib
+import sys
 
 def parse_args():
     parser = argparse.ArgumentParser()