[Libreoffice-commits] dev-tools.git: scripts/Bugzilla.pm

Michael Meeks michael.meeks at collabora.com
Thu Feb 5 05:47:40 PST 2015


 scripts/Bugzilla.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f3b7071fe2310379ebba7154b205a5c41cd06002
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Thu Feb 5 13:51:15 2015 +0000

    Adapt for new BZ handling of long / slow queries.

diff --git a/scripts/Bugzilla.pm b/scripts/Bugzilla.pm
index 15a95f4..2d5bc32 100644
--- a/scripts/Bugzilla.pm
+++ b/scripts/Bugzilla.pm
@@ -79,7 +79,7 @@ sub get_url($)
     my $url = shift;
     my @lines;
     my $handle;
-    open ($handle, "curl -k -s '$url' 2>&1 |") || die "can't exec curl: $!";
+    open ($handle, "curl -A 'Mozilla/4.0' -k -s '$url' 2>&1 |") || die "can't exec curl: $!";
     while (<$handle>) {
 	push @lines, $_;
     }


More information about the Libreoffice-commits mailing list