Skip to content

Commit

Permalink
fix: #222 - e.metadataCdnRepos and e.textOnlyRepos must use lists of …
Browse files Browse the repository at this point in the history
…strings, not just single strings

Change-Id: I3b77a255b385998fb0678919efcd33f6c806f14d
Signed-off-by: nickboldt <nboldt@redhat.com>
  • Loading branch information
nickboldt authored and ktdreyer committed Nov 3, 2021
1 parent 58b5c01 commit 8443287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ containing Docker images):
e = Erratum(errata_id=24075)
assert 'docker' in e.content_types
e.metadataCdnRepos(enable='rhel-7-server-rhceph-3-mon-rpms__x86_64')
e.metadataCdnRepos(enable=['rhel-7-server-rhceph-3-mon-rpms__x86_64'])
Same thing, but for text-only advisories:

Expand All @@ -286,7 +286,7 @@ Same thing, but for text-only advisories:
e = Erratum(errata_id=24075)
assert e.text_only
e.textOnlyRepos(enable='rhel-7-server-rhceph-3-mon-rpms__x86_64')
e.textOnlyRepos(enable=['rhel-7-server-rhceph-3-mon-rpms__x86_64'])
Working with products
Expand Down

0 comments on commit 8443287

Please sign in to comment.