release-engineering / pubtools-pulplib

A Pulp library for publishing tools
GNU General Public License v3.0
2 stars 24 forks source link

Do not include 'container_list' in Erratum model __repr__ #202

Closed midnightercz closed 1 year ago

midnightercz commented 1 year ago

When Erratum is copied from one repo to another, container_list is not populated by pulp (there's no reason for that), however attribute itself is set to be empty frozenlist, mechanism to repr only attributes which are different from default doesn't seem to work for frozenlist default. However there's no reason for container_list to be included in repr output at all.

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (0a0a7e4) 100.00% compared to head (dc2855a) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #202 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 46 46 Lines 3008 3008 ========================================= Hits 3008 3008 ``` | [Impacted Files](https://codecov.io/gh/release-engineering/pubtools-pulplib/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=release-engineering) | Coverage Δ | | |---|---|---| | [pubtools/pulplib/\_impl/model/unit/erratum.py](https://codecov.io/gh/release-engineering/pubtools-pulplib/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=release-engineering#diff-cHVidG9vbHMvcHVscGxpYi9faW1wbC9tb2RlbC91bml0L2VycmF0dW0ucHk=) | `100.00% <ø> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=release-engineering). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=release-engineering)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.