[Debtags-commits] [svn] r1435 -
central-database/branches/alioth/webfrontend
Enrico Zini
enrico at costa.debian.org
Sat Oct 29 14:46:50 UTC 2005
Author: enrico
Date: Sat Oct 29 14:46:50 2005
New Revision: 1435
Modified:
central-database/branches/alioth/webfrontend/Engine.pm
Log:
Handle tags without facets
Modified: central-database/branches/alioth/webfrontend/Engine.pm
==============================================================================
--- central-database/branches/alioth/webfrontend/Engine.pm (original)
+++ central-database/branches/alioth/webfrontend/Engine.pm Sat Oct 29 14:46:50 2005
@@ -218,7 +218,7 @@
$facet = $1;
} else {
$facet = 'legacy';
- $tag = "${legacy}::$tag";
+ $tag = "legacy::$tag";
}
#print STDERR "FACET: $facet, TAG: $tag\n";
@@ -233,7 +233,12 @@
setTag($t);
delete $deleted{$tag};
- } else {
+ }
+ elsif (/^\n*$/s)
+ {
+ }
+ else
+ {
print STDERR "Cannot parse vocabulary record:\n$_\n";
die
next;
More information about the Debtags-commits
mailing list