[Cdd-commits] r1164 - cdd/trunk/webtools
CDD Subversion Commit
noreply at alioth.debian.org
Mon Oct 27 19:38:20 UTC 2008
Author: tille
Date: Mon Oct 27 19:38:20 2008
New Revision: 1164
Modified:
cdd/trunk/webtools/bugs.py
Log:
Workaround bug #503716 to be able to create bug pages for Debian Edu.
Modified: cdd/trunk/webtools/bugs.py
==============================================================================
--- cdd/trunk/webtools/bugs.py (original)
+++ cdd/trunk/webtools/bugs.py Mon Oct 27 19:38:20 2008
@@ -15,7 +15,7 @@
from distasktools import DisDependencies, ReadConfig
if len(argv) <= 1:
- print >>stderr, "Usage: %s <DIS name>\n The <DIS name> needs a matching config file webconf/<DIS name>.conf"\
+ print >>stderr, "Usage: %s <Blend name>\n The <Blend name> needs a matching config file webconf/<Blend name>.conf"\
% argv[0]
exit(-1)
@@ -31,7 +31,12 @@
self.done = [] # closed bugs
self.ndone = 0
- bugs = bts.query('src:' + pkgname)
+ try:
+ bugs = bts.query('src:' + pkgname)
+ except AttributeError, err:
+ print >>stderr, "We seem to face an effect of bug #503716 of python-btsutils when querying package %s for bugs.\n Error message was: %s" \
+ % (pkgname, err)
+ bugs = None
if bugs:
for bug in bugs:
# append a complete dictionary instead of a bug object
More information about the Cdd-commits
mailing list