Merge "Let the flag --no-stream to work"

This commit is contained in:
Zuul 2021-04-21 14:56:19 +00:00 committed by Gerrit Code Review
commit c241a1a605
1 changed files with 2 additions and 0 deletions

View File

@ -207,6 +207,8 @@ def _parse_args(distro_id, distro_major_version_id):
help='Disable stream support for CentOS repos') help='Disable stream support for CentOS repos')
args = parser.parse_args() args = parser.parse_args()
if args.no_stream:
args.stream = False
args.old_mirror = default_mirror args.old_mirror = default_mirror
return args return args