summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbertagaz <bertagaz@ptitcanardnoir.org>2015-12-10 13:27:38 +0100
committerbertagaz <bertagaz@ptitcanardnoir.org>2015-12-10 13:27:38 +0100
commitf1896b0c56e76152cddd9d9ecc88bd9510aae86e (patch)
tree85ebc5237c54fa0b372f1beaf65b9ab32a6bb249
parent05192df2b8e5c052e9c39055f26018cc9bf10333 (diff)
Refs: #10123
-rwxr-xr-xfiles/jenkins/master/generate_tails_iso_jobs2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/jenkins/master/generate_tails_iso_jobs b/files/jenkins/master/generate_tails_iso_jobs
index 1a7298e..31ccf64 100755
--- a/files/jenkins/master/generate_tails_iso_jobs
+++ b/files/jenkins/master/generate_tails_iso_jobs
@@ -64,7 +64,7 @@ if __name__ == "__main__":
parser.add_argument("Projects_directory",
help="Full path to the output directory of the Jenkins Jobs project files.")
args = parser.parse_args()
- for active_branch in get_active_branches(args.Tails_git_directory, args.Active_days):
+ for active_branch in get_active_branches(args.Tails_git_directory, int(args.Active_days)):
project = TailsISOProject(active_branch)
project_filename = args.Projects_directory + "%s.yaml" % active_branch['project_name']
with open(project_filename, 'w') as project_file: