and we have a cool thing.
This commit is contained in:
parent
04d0e3c69d
commit
677178219c
1 changed files with 4 additions and 2 deletions
|
@ -482,7 +482,8 @@ def do_mirrorlist(kwargs):
|
|||
# Strip duplicate "//" from the path
|
||||
path = path.replace('//', '/')
|
||||
|
||||
header = "# path = %s " % (path)
|
||||
subheader = "# path = %s " % (path)
|
||||
header = subheader
|
||||
|
||||
sdir = path.split('/')
|
||||
try:
|
||||
|
@ -503,7 +504,8 @@ def do_mirrorlist(kwargs):
|
|||
kwargs['arch'] = u'source'
|
||||
repo = repo_redirect.get(kwargs['repo'], kwargs['repo'])
|
||||
arch = kwargs['arch']
|
||||
header = "# repo = %s arch = %s " % (repo, arch)
|
||||
subheader = "# repo = %s arch = %s " % (repo, arch)
|
||||
header = subheader
|
||||
|
||||
if repo in disabled_repositories:
|
||||
return return_error(kwargs, message=header + 'repo disabled')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue