X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fqueue_report.py;h=c60358f0446c7a413d38b9fcf703cba60a4ff884;hb=52da315d25f3b59d375d1908ccad2a5db90833bc;hp=4daa3ccbca5825878490bbecb2a0bfd02d26e833;hpb=1c35448b880358d020e81339657e3435fdda9434;p=dak.git
diff --git a/dak/queue_report.py b/dak/queue_report.py
index 4daa3ccb..c60358f0 100755
--- a/dak/queue_report.py
+++ b/dak/queue_report.py
@@ -40,6 +40,7 @@ import apt_pkg
import cgi
from daklib import utils
+from daklib.changes import Changes
from daklib.dbconn import DBConn, has_new_comment
from daklib.textutils import fix_maintainer
from daklib.dak_exceptions import *
@@ -280,7 +281,8 @@ def table_row(source, version, arch, last_mod, maint, distribution, closes, fing
try:
(login, domain) = sponsor.split("@", 1)
print "@debian.org
" % (utils.html_escape(login), utils.html_escape(login))
- except:
+ except Exception, e:
+ print "WARNING: Exception %s" % e
pass
print "Fingerprint: %s" % (fingerprint)
@@ -304,8 +306,9 @@ def process_changes_files(changes_files, type, log):
c.load_dot_dak(filename)
cache[filename] = copy(c.changes)
cache[filename]["filename"] = filename
- except:
- break
+ except Exception, e:
+ print "WARNING: Exception %s" % e
+ continue
# Divide the .changes into per-source groups
per_source = {}
for filename in cache.keys():