thandle if xml template fill fails or using an incorect name - devuan-releasebot - devuan's releasebot reimplemented (scorsh version)
HTML git clone git://parazyd.org/devuan-releasebot.git
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit 17d8c403bcbd68df769c85d4f08878cd41dad35d
DIR parent 3b6e5a6dd3b8548e75ac1c59f738a52b0c5d036c
HTML Author: parazyd <parazyd@dyne.org>
Date: Mon, 24 Jul 2017 18:05:43 +0200
handle if xml template fill fails or using an incorect name
Diffstat:
M buildadd.py | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
DIR diff --git a/buildadd.py b/buildadd.py
t@@ -89,6 +89,9 @@ def main():
print('- Modifying job')
if not dryrun:
jenk.reconfig_job(jobname, pxml)
+ else:
+ print('* Internal error. Check your XML files and the exe name')
+ sys.exit(1)
if __name__ == '__main__':