Bugzilla – Attachment 42119 Details for
Bug 11190
sitemap.pl -- Generate a catalog sitemap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
QA followup for tests on jenkins
QA-followup-for-tests-on-jenkins.patch (text/plain), 1.70 KB, created by
Frédéric Demians
on 2015-08-31 13:26:41 UTC
(
hide
)
Description:
QA followup for tests on jenkins
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2015-08-31 13:26:41 UTC
Size:
1.70 KB
patch
obsolete
>From 0d1c74e298963b1b4345c6fdd6d5db66d494142b Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= <f.demians@tamil.fr> >Date: Mon, 31 Aug 2015 15:26:10 +0200 >Subject: [PATCH] QA followup for tests on jenkins > >http://bugs.koha-community.org/show_bug.cgi?id=11190 >--- > Koha/Sitemapper.pm | 8 ++++---- > Koha/Sitemapper/Writer.pm | 6 +++--- > 2 files changed, 7 insertions(+), 7 deletions(-) > >diff --git a/Koha/Sitemapper.pm b/Koha/Sitemapper.pm >index bbcbad3..aae13b4 100644 >--- a/Koha/Sitemapper.pm >+++ b/Koha/Sitemapper.pm >@@ -28,7 +28,7 @@ has url => ( is => 'rw', ); > > has dir => ( > is => 'rw', >- default => '.', >+ default => sub { '.' }, > trigger => sub { > my ($self, $dir) = @_; > unless (-d $dir) { >@@ -38,15 +38,15 @@ has dir => ( > } > ); > >-has short => ( is => 'rw', default => 1 ); >+has short => ( is => 'rw', default => sub { 1 } ); > >-has verbose => ( is => 'rw', default => 0 ); >+has verbose => ( is => 'rw', default => sub { 0 } ); > > has sth => ( is => 'rw' ); > > has writer => ( is => 'rw', ); > >-has count => ( is => 'rw', default => 0); >+has count => ( is => 'rw', default => sub { 0 } ); > > > sub run { >diff --git a/Koha/Sitemapper/Writer.pm b/Koha/Sitemapper/Writer.pm >index 7e33eb0..d00c175 100644 >--- a/Koha/Sitemapper/Writer.pm >+++ b/Koha/Sitemapper/Writer.pm >@@ -31,9 +31,9 @@ my $MAX = 50000; > > has sitemapper => (is => 'rw', ); > >-has current => ( is => 'rw', default => $MAX ); >+has current => ( is => 'rw', default => sub { $MAX } ); > >-has count => ( is => 'rw', default => 0 ); >+has count => ( is => 'rw', default => sub { 0 } ); > > has writer => ( is => 'rw', ); > >@@ -122,4 +122,4 @@ sub end { > } > > >-1; >\ No newline at end of file >+1; >-- >2.5.0
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 11190
:
22671
|
22679
|
23893
|
23896
|
23979
|
23980
|
24515
|
26153
|
34060
|
34061
|
34087
|
37942
|
39712
|
41744
|
41745
|
41989
| 42119