commit:     2433330ac00a69b6960746cd6bd2c4fce490626b
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 25 00:04:04 2017 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Jun 25 00:04:04 2017 +0000
URL:        https://gitweb.gentoo.org/proj/elections.git/commit/?id=2433330a

Votify: undef fixed, disable debug

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 Votify.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Votify.pm b/Votify.pm
index d24b8cb..87fba2f 100644
--- a/Votify.pm
+++ b/Votify.pm
@@ -129,9 +129,9 @@ sub get_single_election_hashref {
     return undef unless defined $election_dir;
     my %election;
     foreach my $fn (@REQUIRED_FILES){
-        print STDERR "Scan $fn\n";
+        #print STDERR "Scan $fn\n";
         my @filenames = (sprintf("%s/%s", "$basedir/$election_name", $fn), 
sprintf("%s/%s-%s", "$basedir/$election_name", $fn, $election_name));
-        print STDERR Dumper(@filenames);
+        #print STDERR Dumper(@filenames);
         my $filename = abs_path(List::Util::first { $_ && -f $_ } @filenames);
         $election{"${fn}file"} = $filename;
     };

Reply via email to