diff options
author | Dan McGee <dan@archlinux.org> | 2015-06-18 16:31:09 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2015-06-18 16:31:09 -0500 |
commit | c12060e51bc4876ed6db2935cbc39879ce7f4f6b (patch) | |
tree | 4ad3e9f8d8044e115e35753c71aa39afebf29a39 /packages | |
parent | 9b7d5bc93fb1fd7b85c01f4c8a677ae309f9d4eb (diff) |
Handle Django's level 3 verbosity properly
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
-rw-r--r-- | packages/management/commands/populate_signoffs.py | 2 | ||||
-rw-r--r-- | packages/management/commands/signoff_report.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/management/commands/populate_signoffs.py b/packages/management/commands/populate_signoffs.py index 17a05671..8a025f4e 100644 --- a/packages/management/commands/populate_signoffs.py +++ b/packages/management/commands/populate_signoffs.py @@ -38,7 +38,7 @@ is signoff-eligible and does not have an existing comment attached""" logger.level = logging.ERROR elif v == 1: logger.level = logging.INFO - elif v == 2: + elif v >= 2: logger.level = logging.DEBUG return add_signoff_comments() diff --git a/packages/management/commands/signoff_report.py b/packages/management/commands/signoff_report.py index 72fcbe1e..a5022eeb 100644 --- a/packages/management/commands/signoff_report.py +++ b/packages/management/commands/signoff_report.py @@ -44,7 +44,7 @@ class Command(BaseCommand): logger.level = logging.ERROR elif v == 1: logger.level = logging.INFO - elif v == 2: + elif v >= 2: logger.level = logging.DEBUG if len(args) != 2: |