[SCM] Debian Qt/KDE packaging tools branch, master, updated. debian/0.15.1

Modestas Vainius modax at alioth.debian.org
Sat Jun 30 11:01:55 UTC 2012


Gitweb-URL: http://git.debian.org/?p=pkg-kde/pkg-kde-tools.git;a=commitdiff;h=f9d5e26

The following commit has been merged in the master branch:
commit f9d5e26b78bca036bfa5e3a06c76b96ef2a41221
Author: Modestas Vainius <modax at debian.org>
Date:   Sat Jun 30 13:50:11 2012 +0300

    pkgkde-getbuildlogs: explicitly support identify Content-Encoding.
---
 pkgkde-getbuildlogs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pkgkde-getbuildlogs b/pkgkde-getbuildlogs
index 61e192d..0bca06e 100755
--- a/pkgkde-getbuildlogs
+++ b/pkgkde-getbuildlogs
@@ -139,7 +139,7 @@ sub fetch_log {
 	if ($response->is_success()) {
 	    # Inflate/gunzip contents if needed
 	    my $content_encoding = $response->header("Content-Encoding");
-	    if (defined $content_encoding) {
+	    if (defined $content_encoding && $content_encoding ne "identity") {
 		my $uncompress_func;
 		if ($content_encoding eq "deflate") {
 		    push @status, "deflate";
@@ -162,6 +162,7 @@ sub fetch_log {
 		    }
 		}
 	    } else {
+		# Identity encoding (no compression)
 		$ok = 1;
 		binmode($tmpfile2, ":utf8");
 	    }

-- 
Debian Qt/KDE packaging tools



More information about the pkg-kde-commits mailing list