From fc083b49a0a0a922d96b39ed600e8cdf92e6df74 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Wed, 3 Jun 2015 15:05:04 +0100 Subject: move function before it's use --- job-cfg/d-i.yaml.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'job-cfg') diff --git a/job-cfg/d-i.yaml.py b/job-cfg/d-i.yaml.py index 86b5fdc3..b0d89d48 100755 --- a/job-cfg/d-i.yaml.py +++ b/job-cfg/d-i.yaml.py @@ -205,6 +205,12 @@ def lr(keep): return {'artifactDaysToKeep': -1, 'daysToKeep': keep, 'numToKeep': 30, 'artifactNumToKeep': -1} +def publ_email(irc=None): + r = ['jenkins+' + irc] if irc != None else [] + r.append('qa-jenkins-scm@lists.alioth.debian.org') + return [{'email': {'recipients': ' '.join(r)}}] + + def publ(fmt=None,trigger=False,irc=None): p = [] if trigger: @@ -219,10 +225,6 @@ def publ(fmt=None,trigger=False,irc=None): return p -def publ_email(irc=None): - r = ['jenkins+' + irc] if irc != None else [] - r.append('qa-jenkins-scm@lists.alioth.debian.org') - return [{'email': {'recipients': ' '.join(r)}}] def prop(middle=sb_manual, priority=None): -- cgit v1.2.3-70-g09d2