add declined pkg to skip list

This commit is contained in:
Max Lin 2015-08-18 21:40:43 +08:00
parent dce847abb0
commit 9d00b1047d

View File

@ -53,7 +53,13 @@ class FccSubmitter(object):
self.skip_devel_project_list = [
'X11:Enlightenment:Factory',
]
self.skip_pkgs_list = []
self.skip_pkgs_list = [
'mozaddon-adblock_edge',
'gnome-python-desktop',
'compiz-manager',
'lua',
'lua52',
]
def get_source_packages(self, project, expand=False):
"""Return the list of packages in a project."""
@ -185,8 +191,8 @@ class FccSubmitter(object):
logging.info('%s is in the skip list, do not submit.' % devel_prj)
continue
# check package does not in the skip list
if devel_pkg in self.skip_pkgs_list:
logging.info('%s is in the skip list, do not submit.' % devel_pkg)
if package in self.skip_pkgs_list:
logging.info('%s is in the skip list, do not submit.' % package)
continue
res = self.create_submitrequest(package)
if res and res is not None: