diff mbox

[kteam-tools,1/2,verify-release-ready] Relax the check for 'fix committed'

Message ID 20170703090158.12003-2-juerg.haefliger@canonical.com
State New
Headers show

Commit Message

Juerg Haefliger July 3, 2017, 9:01 a.m. UTC
If the script is run after the fixes have been released already, it
should not warn about fixes not being committed. So accept the status
'Fix Released' as well when checking the status of the individual fixes.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
 maintscripts/verify-release-ready | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/maintscripts/verify-release-ready b/maintscripts/verify-release-ready
index cfe52d072eeb..193820c5955b 100755
--- a/maintscripts/verify-release-ready
+++ b/maintscripts/verify-release-ready
@@ -382,7 +382,7 @@  class VerifyReleaseReady():
                        (changelog_series == s.lp_devel_series.displayname.lower()):
                         is_targeted_to_series = True
                         # if we are on a devel or series targeted task check status of that task
-                        if task.status == u'Fix Committed':
+                        if task.status in (u'Fix Committed', u'Fix Released'):
                             is_fix_committed = True
 
             # display status based on results