diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2017-06-24 17:04:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2017-06-24 17:04:04 -0700 |
commit | 2433330ac00a69b6960746cd6bd2c4fce490626b (patch) | |
tree | 130de8733724351ee392d252e28c325dbcdebd23 | |
parent | Votify: debug spam. (diff) | |
download | elections-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.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; }; |