summaryrefslogtreecommitdiff
path: root/devel/management
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2015-06-18 16:31:09 -0500
committerDan McGee <dan@archlinux.org>2015-06-18 16:31:09 -0500
commitc12060e51bc4876ed6db2935cbc39879ce7f4f6b (patch)
tree4ad3e9f8d8044e115e35753c71aa39afebf29a39 /devel/management
parent9b7d5bc93fb1fd7b85c01f4c8a677ae309f9d4eb (diff)
Handle Django's level 3 verbosity properly
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/management')
-rw-r--r--devel/management/commands/generate_keyring.py2
-rw-r--r--devel/management/commands/pgp_import.py2
-rw-r--r--devel/management/commands/rematch_developers.py2
-rw-r--r--devel/management/commands/reporead.py2
-rw-r--r--devel/management/commands/reporead_inotify.py2
5 files changed, 5 insertions, 5 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: