[strip-nondeterminism] 02/03: zip.pm: Don't mix high and low-precedence booleans.

Chris Lamb chris at chris-lamb.co.uk
Sat Sep 3 18:49:03 UTC 2016


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository strip-nondeterminism.

commit 0821fdf202a15a71559903b6447ab20f9388eb97
Author: Chris Lamb <lamby at debian.org>
Date:   Sat Sep 3 19:12:31 2016 +0100

    zip.pm: Don't mix high and low-precedence booleans.
---
 lib/File/StripNondeterminism/handlers/zip.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/File/StripNondeterminism/handlers/zip.pm b/lib/File/StripNondeterminism/handlers/zip.pm
index 88a8391..bb03f67 100644
--- a/lib/File/StripNondeterminism/handlers/zip.pm
+++ b/lib/File/StripNondeterminism/handlers/zip.pm
@@ -146,7 +146,7 @@ sub normalize {
 			die "Reading ZIP archive failed: " . join("\n", @errors);
 		}
 	}
-	if (exists($options{archive_filter}) && not($options{archive_filter}->($zip))) {
+	if (exists($options{archive_filter}) and not($options{archive_filter}->($zip))) {
 		return 0;
 	}
 	my @filenames = sort $filename_cmp $zip->memberNames();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/strip-nondeterminism.git



More information about the Reproducible-commits mailing list