summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2015-04-15 12:34:20 -0500
committerDan McGee <dan@archlinux.org>2015-04-15 12:34:20 -0500
commit7d4a6db69fe58aa9eb99cbc4f90556652455cf3a (patch)
tree36b2657a7ab5cc32e501f710310ab66e84b024b9 /packages
parent0fd1bc9690ce7b1be70fcc2a3fc845549da7d660 (diff)
Don't blow up if we can't fetch an SVN revision
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
-rw-r--r--packages/management/commands/populate_signoffs.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/packages/management/commands/populate_signoffs.py b/packages/management/commands/populate_signoffs.py
index a9c1c81c..17a05671 100644
--- a/packages/management/commands/populate_signoffs.py
+++ b/packages/management/commands/populate_signoffs.py
@@ -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: