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 | |
parent | 9b7d5bc93fb1fd7b85c01f4c8a677ae309f9d4eb (diff) |
Handle Django's level 3 verbosity properly
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | devel/management/commands/generate_keyring.py | 2 | ||||
-rw-r--r-- | devel/management/commands/pgp_import.py | 2 | ||||
-rw-r--r-- | devel/management/commands/rematch_developers.py | 2 | ||||
-rw-r--r-- | devel/management/commands/reporead.py | 2 | ||||
-rw-r--r-- | devel/management/commands/reporead_inotify.py | 2 | ||||
-rw-r--r-- | mirrors/management/commands/mirrorcheck.py | 2 | ||||
-rw-r--r-- | mirrors/management/commands/mirrorresolv.py | 2 | ||||
-rw-r--r-- | packages/management/commands/populate_signoffs.py | 2 | ||||
-rw-r--r-- | packages/management/commands/signoff_report.py | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/devel/management/commands/generate_keyring.py b/devel/management/commands/generate_keyring.py index 34bcd2f8..9c52dadc 100644 --- a/devel/management/commands/generate_keyring.py +++ b/devel/management/commands/generate_keyring.py @@ -32,7 +32,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: diff --git a/devel/management/commands/pgp_import.py b/devel/management/commands/pgp_import.py index 3f557fe9..7a124f77 100644 --- a/devel/management/commands/pgp_import.py +++ b/devel/management/commands/pgp_import.py @@ -38,7 +38,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) < 1: diff --git a/devel/management/commands/rematch_developers.py b/devel/management/commands/rematch_developers.py index 7a06e084..bbb43df0 100644 --- a/devel/management/commands/rematch_developers.py +++ b/devel/management/commands/rematch_developers.py @@ -37,7 +37,7 @@ class Command(NoArgsCommand): logger.level = logging.ERROR elif v == 1: logger.level = logging.INFO - elif v == 2: + elif v >= 2: logger.level = logging.DEBUG finder = UserFinder() diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py index 3244d593..72061176 100644 --- a/devel/management/commands/reporead.py +++ b/devel/management/commands/reporead.py @@ -70,7 +70,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 return read_repo(arch, filename, options) diff --git a/devel/management/commands/reporead_inotify.py b/devel/management/commands/reporead_inotify.py index e3c720bc..1422ae26 100644 --- a/devel/management/commands/reporead_inotify.py +++ b/devel/management/commands/reporead_inotify.py @@ -45,7 +45,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 not path_template: diff --git a/mirrors/management/commands/mirrorcheck.py b/mirrors/management/commands/mirrorcheck.py index 374643e7..1a33073a 100644 --- a/mirrors/management/commands/mirrorcheck.py +++ b/mirrors/management/commands/mirrorcheck.py @@ -58,7 +58,7 @@ class Command(NoArgsCommand): logger.level = logging.ERROR elif v == 1: logger.level = logging.WARNING - elif v == 2: + elif v >= 2: logger.level = logging.DEBUG timeout = options.get('timeout') diff --git a/mirrors/management/commands/mirrorresolv.py b/mirrors/management/commands/mirrorresolv.py index fcf13fda..0e71894b 100644 --- a/mirrors/management/commands/mirrorresolv.py +++ b/mirrors/management/commands/mirrorresolv.py @@ -32,7 +32,7 @@ class Command(NoArgsCommand): logger.level = logging.ERROR elif v == 1: logger.level = logging.WARNING - elif v == 2: + elif v >= 2: logger.level = logging.DEBUG return resolve_mirrors() 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: |