[Debian-l10n-commits] ddtp branch master updated. 20080812.0-141-gde368bc
Martijn van Oosterhout
kleptog-guest at moszumanska.debian.org
Sun Jan 19 14:00:13 UTC 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "ddtp".
The branch, master has been updated
via de368bcd66f99f2f73d70a3b3e9c7c7df2c6ffb1 (commit)
from 6d7fd457998ee337d1d8833fe297709e32d7150a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://anonscm.debian.org/gitweb/?p=debian-l10n/ddtp.git;a=commitdiff;h=de368bcd66f99f2f73d70a3b3e9c7c7df2c6ffb1
commit de368bcd66f99f2f73d70a3b3e9c7c7df2c6ffb1
Author: Martijn van Oosterhout <kleptog at svana.org>
Date: Sun Jan 19 13:57:53 2014 +0000
Fix stats display to read gz files instead of bz2.
-----------------------------------------------------------------------
Summary of changes:
ddts-stats | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ddts-stats b/ddts-stats
index e32828f..b938026 100755
--- a/ddts-stats
+++ b/ddts-stats
@@ -89,7 +89,7 @@ sub fetch_data
sub load_packages
{
print "Loading package file\n";
- my $fh = open_bz2_file( "/org/ddtp.debian.net/Packages/Packages_${DIST}_main_${ARCH}.bz2" );
+ my $fh = open_bz2_file( "/org/ddtp.debian.net/Packages/Packages_${DIST}_main_${ARCH}.gz" );
parse_header_format( $fh, \&process_package );
close $fh;
}
@@ -335,7 +335,7 @@ sub open_bz2_file
my $fh;
- open $fh, "bzcat $file |" or die "Couldn't open $file ($!)\n";
+ open $fh, "zcat $file |" or die "Couldn't open $file ($!)\n";
return $fh;
}
-----------------------------------------------------------------------
hooks/post-receive
--
ddtp
More information about the Debian-l10n-commits
mailing list