aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-06-24 17:04:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2017-06-24 17:04:04 -0700
commit2433330ac00a69b6960746cd6bd2c4fce490626b (patch)
tree130de8733724351ee392d252e28c325dbcdebd23
parentVotify: debug spam. (diff)
downloadelections-2433330ac00a69b6960746cd6bd2c4fce490626b.tar.gz
elections-2433330ac00a69b6960746cd6bd2c4fce490626b.tar.bz2
elections-2433330ac00a69b6960746cd6bd2c4fce490626b.zip
Votify: undef fixed, disable debug
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--Votify.pm4
1 files 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;
};