Bugzilla – Attachment 12644 Details for
Bug 7963
Parallel HTTP requests when checking URLs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7963 follow-up: die nicely if AnyEvent libraries not installed
Bug-7963-follow-up-die-nicely-if-AnyEvent-librarie.patch (text/plain), 1.02 KB, created by
Paul Poulain
on 2012-10-02 14:57:39 UTC
(
hide
)
Description:
Bug 7963 follow-up: die nicely if AnyEvent libraries not installed
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2012-10-02 14:57:39 UTC
Size:
1.02 KB
patch
obsolete
>From 511283bfd221a1f914dbb514b73d0e74cb8e8aea Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Tue, 2 Oct 2012 16:55:32 +0200 >Subject: [PATCH] Bug 7963 follow-up: die nicely if AnyEvent libraries not > installed > >--- > misc/cronjobs/check-url-quick.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/misc/cronjobs/check-url-quick.pl b/misc/cronjobs/check-url-quick.pl >index 632a1fe..d1674e8 100755 >--- a/misc/cronjobs/check-url-quick.pl >+++ b/misc/cronjobs/check-url-quick.pl >@@ -22,8 +22,8 @@ use Pod::Usage; > use Getopt::Long; > use C4::Context; > use C4::Biblio; >-use AnyEvent; >-use AnyEvent::HTTP; >+eval { require AnyEvent } or die "This script requires AnyEvent perl library. Use check-url.pl if you can't install AnyEvent" ; >+eval { require AnyEvent::HTTP } or die "This script requires AnyEvent::HTTP perl library. Use check-url.pl if you can't install AnyEvent::HTTP" ; > > my ( $verbose, $help, $html ) = ( 0, 0, 0 ); > my ( $host, $host_intranet ) = ( '', '' ); >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7963
:
9195
|
9197
|
9206
|
10194
|
10195
|
10238
|
10239
|
11403
|
11405
|
11837
|
11840
|
12644
|
12648