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>
This commit is contained in:
Arnout Vandecappelle 2017-07-01 19:29:50 +02:00 committed by Thomas Petazzoni
parent 91a5ec960b
commit d01452ce6e

View File

@ -2,6 +2,7 @@
import argparse
import getdeveloperlib
import sys
def parse_args():
parser = argparse.ArgumentParser()