summaryrefslogtreecommitdiff
path: root/packages/management/commands/populate_signoffs.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/management/commands/populate_signoffs.py')
-rw-r--r--packages/management/commands/populate_signoffs.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/packages/management/commands/populate_signoffs.py b/packages/management/commands/populate_signoffs.py
index a9c1c81c..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()
@@ -95,9 +95,12 @@ def add_signoff_comments():
continue
logger.debug("getting SVN log for %s (%s)", group.pkgbase, group.repo)
- log = cached_svn_log(group.pkgbase, group.repo)
- logger.info("creating spec with SVN message for %s", group.pkgbase)
- spec = create_specification(group.packages[0], log, finder)
- spec.save()
+ try:
+ log = cached_svn_log(group.pkgbase, group.repo)
+ logger.info("creating spec with SVN message for %s", group.pkgbase)
+ spec = create_specification(group.packages[0], log, finder)
+ spec.save()
+ except:
+ logger.exception("error getting SVN log for %s", group.pkgbase)
# vim: set ts=4 sw=4 et: