rpmmd: drop the Name attribute from RepoConfig
This was never actually used anywhere, as passing it to dnf-json was a noop. We may want to reconsider the concept of a source/repo name and how it differs from an ID, but for now drop the name. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
7ea74cd131
commit
5d179428be
12 changed files with 3 additions and 23 deletions
1
dnf-json
1
dnf-json
|
|
@ -21,7 +21,6 @@ def dnfrepo(desc, parent_conf=None):
|
|||
"""Makes a dnf.repo.Repo out of a JSON repository description"""
|
||||
|
||||
repo = dnf.repo.Repo(desc["id"], parent_conf)
|
||||
repo.name = desc["name"]
|
||||
|
||||
if "baseurl" in desc:
|
||||
repo.baseurl = desc["baseurl"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue