Unused prints in loaddata.py
|Reported by:||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In file core/management/commands/loaddata.py there are three verbosity level checks that cannot be true.
verbosity parameter has choices=['0', '1', '2'], and these checks looks like that:
128 if verbosity > 2: 129 print "No fixtures found."
Changes were made in this commit:
Probably it should be changed to >= 2
Change History (3)
comment:1 Changed 9 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Ready for checkin|