Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Replace ProgressBar with ProgressReport #13

Merged
merged 1 commit into from Sep 20, 2019
Merged

Conversation

fao89
Copy link
Member

@fao89 fao89 commented Sep 18, 2019

with ProgressBar(message='Migrating {} content to Pulp 3'.format(content_type.upper()),
total=total_pulp2content) as pb:
with ProgressReport(message='Migrating {} content to Pulp 3'.format(content_type.upper()),
code='migrating.content', total=total_pulp2content) as pb:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fabricio-aguiar ,
Could you please include content type into the code since we have migrating.content code already?
e.g. code='migrating.{}.content'.format(content_type) or whichever way you prefer to do string formatting.

@bmbouter bmbouter merged commit 51bf2a5 into pulp:master Sep 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants