This commit is contained in:
avdhoot 2014-09-13 22:36:36 +05:30 committed by rallytime
parent 4f3a2489cc
commit 12397ce7e4

View File

@ -1466,7 +1466,7 @@ def mod_repo(repo, saltenv='base', **kwargs):
if not mod_source: if not mod_source:
mod_source = sourceslist.SourceEntry(repo) mod_source = sourceslist.SourceEntry(repo)
if 'comments' in kwargs: if 'comments' in kwargs:
mod_source.comment = kwargs['comments'][0] mod_source.comment = " ".join(str(c) for c in kwargs['comments'])
sources.list.append(mod_source) sources.list.append(mod_source)
# if all comps aren't part of the disable # if all comps aren't part of the disable