diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-08-05 23:59:03 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-08-05 23:59:03 -0600 |
commit | d4731a373ca665d4547eb0e89cdf270d41c44243 (patch) | |
tree | 41dbfb57e5f6745ad6ac3acd5de8c4d9788c950c /packages/management | |
parent | c8d979b8a48805d162ab46cdc4e493da0aa1595c (diff) | |
parent | 803ba89841468bcf088ea79ea981a849ca159682 (diff) |
Merge branch 'archweb' into archweb-generic
Diffstat (limited to 'packages/management')
-rw-r--r-- | packages/management/commands/populate_signoffs.py | 13 | ||||
-rw-r--r-- | packages/management/commands/signoff_report.py | 2 |
2 files changed, 9 insertions, 6 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: diff --git a/packages/management/commands/signoff_report.py b/packages/management/commands/signoff_report.py index d104288a..9724e562 100644 --- a/packages/management/commands/signoff_report.py +++ b/packages/management/commands/signoff_report.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 len(args) != 2: |