[PATCH kteam-tools] stable/start-sru-cycle: Fix derivative and backport list update

Stefan Bader stefan.bader at canonical.com
Wed Apr 12 18:59:41 UTC 2017


The lists derivatives and backports must contain strings for the
join to work. Otherwise the command fails when trying to add
backports and derivatives to the description of the master bug.

Signed-off-by: Stefan Bader <stefan.bader at canonical.com>
---
 stable/start-sru-cycle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/stable/start-sru-cycle b/stable/start-sru-cycle
index acfd689..daab835 100755
--- a/stable/start-sru-cycle
+++ b/stable/start-sru-cycle
@@ -106,7 +106,7 @@ class Crankers():
                         print('        %s:%s' % (backport_series, backport_project))
                         bug = tb.open(backport_project, '<version to be filled>', True, master_bug.id, backport_series)
                         bug.tags.append(cycle_tag)
-                        backports.append(bug.id)
+                        backports.append(str(bug.id))
                         bug.tags.append('kernel-sru-backport-of-%s' % master_bug.id)
 
                     derivatives = []
@@ -114,7 +114,7 @@ class Crankers():
                         print('        ' + derivative_project)
                         bug = tb.open(derivative_project, '<version to be filled>', True, master_bug.id, series)
                         bug.tags.append(cycle_tag)
-                        derivatives.append(bug.id)
+                        derivatives.append(str(bug.id))
                         bug.tags.append('kernel-sru-derivative-of-%s' % master_bug.id)
 
                     description = master_bug.description
-- 
2.7.4





More information about the kernel-team mailing list