die("Every project requires an email option.")
if config.has_option(project, "upload"):
upload = config.get(project, "upload")
+elif config.has_option("DEFAULT", "upload"):
+ upload = config.get("DEFAULT", "upload")
else:
die("Every project requires an upload option.")
if config.has_option(project, "advertise"):
advertise = config.get(project, "advertise")
+elif config.has_option("DEFAULT", "advertise"):
+ upload = config.get("DEFAULT", "advertise")
else:
die("Every project requires an advertise option.")
if config.has_option(project, "prebuild"):
if not noexec:
if os.system(cmd) != 0:
sys.stderr.write("Command failed.\n")
+ sys.exit(1)
# Build local stuff
print("Rebuilding and scanning...")