Empty the supportpkg list in case no candidate

This commit is contained in:
Max Lin 2017-06-07 18:39:12 +08:00
parent c969d6e2d6
commit 61b7dd5910

View File

@ -159,6 +159,7 @@ class StagingHelper(object):
stg.find('supportpkg').text = new_suppkg_list
elif not len(cand_sources[stgname]):
stg.find('rebuild').text = 'unneeded'
stg.find('supportpkg').text = ''
if stg.find('rebuild').text == 'needed':
need_rebuild = True