Bugzilla – Attachment 163306 Details for
Bug 34621
Patron import option to 'Renew existing patrons' 'from the current membership expiry date' not implemented
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34621: Tidy import_patrons.pl
Bug-34621-Tidy-importpatronspl.patch (text/plain), 1.58 KB, created by
Kyle M Hall (khall)
on 2024-03-18 11:04:54 UTC
(
hide
)
Description:
Bug 34621: Tidy import_patrons.pl
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-03-18 11:04:54 UTC
Size:
1.58 KB
patch
obsolete
>From d44360d0c8d19bce28c4fd7cd1c38eb137c314b0 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 18 Mar 2024 07:04:23 -0400 >Subject: [PATCH] Bug 34621: Tidy import_patrons.pl > >--- > misc/import_patrons.pl | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > >diff --git a/misc/import_patrons.pl b/misc/import_patrons.pl >index 3e3703d7db5..968e0a8c36c 100755 >--- a/misc/import_patrons.pl >+++ b/misc/import_patrons.pl >@@ -34,7 +34,7 @@ my $welcome_new = 0; > my %defaults; > my $ext_preserve = 0; > my $confirm; >-my $verbose = 0; >+my $verbose = 0; > my $help; > my @preserve_fields; > my $update_dateexpiry; >@@ -58,9 +58,9 @@ GetOptions( > 'h|help|?' => \$help, > ) or pod2usage(2); > >-pod2usage(1) if $help; >+pod2usage(1) if $help; > pod2usage(q|--ee and --et are mutually exclusive|) if $update_dateexpiry_from_today && $update_dateexpiry_from_existing; >-pod2usage(q|--file is required|) unless $csv_file; >+pod2usage(q|--file is required|) unless $csv_file; > pod2usage(q|--matchpoint is required|) unless $matchpoint; > > warn "Running in dry-run mode, provide --confirm to apply the changes\n" unless $confirm; >@@ -104,14 +104,14 @@ if ($verbose) { > say q{}; > } > >-if ($verbose > 1 ) { >+if ( $verbose > 1 ) { > say "Errors:"; >- say Data::Dumper::Dumper( $errors ); >+ say Data::Dumper::Dumper($errors); > } > >-if ($verbose > 2 ) { >+if ( $verbose > 2 ) { > say "Feedback:"; >- say Data::Dumper::Dumper( $feedback ); >+ say Data::Dumper::Dumper($feedback); > } > > =head1 NAME >-- >2.30.2
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 34621
:
154841
|
154842
|
154853
|
155235
|
161027
|
163304
|
163305
|
163306
|
164808
|
164809
|
164810