Inconsistent printing of warnings/errors in ringbuilder cli
Bug #1511139 reported by
Paul Dardeau
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
In Progress
|
Low
|
shravya Gaddam |
Bug Description
Most printing statements use print function, while a couple use stderr.write. There should be more consistent printing of warning errors.
Example of most common printing of a warning:
print('Warning: Writing an empty ring')
Example of less common printing of a warning:
stderr.
This inconsistency also bleeds over into the unit tests.
Changed in swift: | |
assignee: | nobody → shravya Gaddam (shravya-g90) |
status: | New → In Progress |
Changed in swift: | |
importance: | Undecided → Low |
To post a comment you must log in.
Hi
Can you please explain more clearly on this.
Do we need to modify with print where there is stderr.write.
Could you please confirm this
Thanks