Fix for FORCE_DISABLE_UPDATES

Change-Id: I61bce8614f7b6b885ca0e72bbd99890c9e99a3e6
Closes-bug: #1652905
This commit is contained in:
ibumarskov 2016-12-28 13:44:55 +04:00
parent cf9edd8f6d
commit c600f22f6d
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ def replace_ubuntu_repos(repos_attr, upstream_host):
repos = add_ubuntu_extra_mirrors(repos=repos)
if help_data.FORCE_DISABLE_UPDATES:
repos = [repo for repo in repos if
'ubuntu' in repo['name'] or repo['name'] == 'mos']
'ubuntu' in repo['name'] or repo['name'] == 'mos' or
repo['name'] == 'mos-holdback']
return repos