1
0
mirror of https://github.com/django/django.git synced 2025-02-06 23:45:22 +00:00
Rivo Laks 76c526f80e [1.8.x] Fixed #24769 -- Cast optparse verbosity argument to an integer for better backwards compatibility.
Using `BaseCommand.options_list` makes Django use the legacy optparse
parser, which does not set the verbosity attribute correctly. Now the
verbosity argument is always cast to int. Regression in 8568638 (#19973).

Initial report and patch from blueyed.

Backport of a0047c6242fd48068eb444e0a58f7a5d2bc1bcd3 from master
2015-06-09 19:05:16 -04:00
..