[Debian-l10n-commits] r2732 - in /ddtp-web: Changelog Packages2packages_tb.pl
nekral-guest at users.alioth.debian.org
nekral-guest at users.alioth.debian.org
Thu Jul 28 13:56:48 UTC 2011
Author: nekral-guest
Date: Thu Jul 28 13:56:47 2011
New Revision: 2732
URL: http://svn.debian.org/wsvn/?sc=1&rev=2732
Log:
* Packages2packages_tb.pl: Ignore errors when injecting
descriptions in the temporary database. Errors are expected since
duplicate entries are injected. There is no urgency to fix this.
Wait for a Translation-en file.
Modified:
ddtp-web/Changelog
ddtp-web/Packages2packages_tb.pl
Modified: ddtp-web/Changelog
URL: http://svn.debian.org/wsvn/ddtp-web/Changelog?rev=2732&op=diff
==============================================================================
--- ddtp-web/Changelog (original)
+++ ddtp-web/Changelog Thu Jul 28 13:56:47 2011
@@ -1,3 +1,10 @@
+2011-07-28 Nicolas Francois <nicolas.francois at centraliens.net>
+
+ * Packages2packages_tb.pl: Ignore errors when injecting
+ descriptions in the temporary database. Errors are expected since
+ duplicate entries are injected. There is no urgency to fix this.
+ Wait for a Translation-en file.
+
2011-07-28 Nicolas Francois <nicolas.francois at centraliens.net>
* packages_tb2Packages.pl: Remove dead code (DIST / SECTION).
Modified: ddtp-web/Packages2packages_tb.pl
URL: http://svn.debian.org/wsvn/ddtp-web/Packages2packages_tb.pl?rev=2732&op=diff
==============================================================================
--- ddtp-web/Packages2packages_tb.pl (original)
+++ ddtp-web/Packages2packages_tb.pl Thu Jul 28 13:56:47 2011
@@ -53,7 +53,8 @@
$dbh->commit; # commit the changes if we get this far
};
if ($@) {
- warn "Packages2packages_tb.pl: failed to INSERT Package '".$hash->{Package}."', Version '".$hash->{Version}."': $@\n";
+ # By design, the commit in packages_tb fails when a (package,version) exists in another architecture.
+ # FIXME: We ignore these errors.
$dbh->rollback; # undo the incomplete changes
}
}
More information about the Debian-l10n-commits
mailing list