[Collab-qa-commits] r1029 - udd/src/udd
lucas at alioth.debian.org
lucas at alioth.debian.org
Sat Aug 9 01:49:53 UTC 2008
Author: lucas
Date: 2008-08-09 01:49:53 +0000 (Sat, 09 Aug 2008)
New Revision: 1029
Modified:
udd/src/udd/bugs_gatherer.pl
Log:
don't insert bugs with source=null. copy the package value.
Modified: udd/src/udd/bugs_gatherer.pl
===================================================================
--- udd/src/udd/bugs_gatherer.pl 2008-08-09 01:49:48 UTC (rev 1028)
+++ udd/src/udd/bugs_gatherer.pl 2008-08-09 01:49:53 UTC (rev 1029)
@@ -195,7 +195,10 @@
my $source = $binarytosource{$bug{package}};
if(not defined $source) {
- $source = 'NULL';
+ # if source is not defined, then we $bug{package} is likely to
+ # be a source package name (or the source package has the same
+ # name as the binary package). See #480818 for ex.
+ $source = $dbh->quote($bug{package});
} else {
$source = $dbh->quote($source);
}
More information about the Collab-qa-commits
mailing list