[apache2] 04/06: a2query: whitespace fixes

Stefan Fritsch sf at moszumanska.debian.org
Sat Jan 9 22:59:34 UTC 2016


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

sf pushed a commit to branch master
in repository apache2.

commit e3fa64fd1ca404caf529735cbd11650470d4ef9e
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Sat Jan 9 23:43:17 2016 +0100

    a2query: whitespace fixes
---
 debian/a2query.in | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/a2query.in b/debian/a2query.in
index fba1368..f9f1a91 100755
--- a/debian/a2query.in
+++ b/debian/a2query.in
@@ -186,11 +186,11 @@ sub load_defaults
 				$SERVER_VERSION = $value;
 				$SERVER_VERSION =~ s/[^\d\.]//g;
 			}
-			elsif($pattern =~ /MPM/)
+			elsif ($pattern =~ /MPM/)
 			{
 				$MPM = $value;
 			}
-			elsif($pattern =~ /Magic/)
+			elsif ($pattern =~ /Magic/)
 			{
 				$API = $value;
 				$API =~ s/\:\d+//;
@@ -204,7 +204,7 @@ sub load_modules
 {
 	my $conf_dir = $CONFIG_DIR . "/mods-enabled";
 	opendir(DIR, $conf_dir) || fail("$conf_dir: $!", 1);
-	while( readdir(DIR) )
+	while ( readdir(DIR) )
 	{
 		my $file = $_;
 		next if $file !~ m/\.load$/;
@@ -212,7 +212,7 @@ sub load_modules
 		if ($file =~ /mpm_(event|worker|prefork)/)
 		{
 			$MPM = $1 if $MPM eq 'invalid';
-			if(grep { $_ =~ m/^mpm_(?:event|worker|prefork)/ } @MODULES)
+			if (grep { $_ =~ m/^mpm_(?:event|worker|prefork)/ } @MODULES)
 			{
 				fail("There is more than one MPM loaded. Do not proceed due to undefined results", 1);
 			}
@@ -231,7 +231,7 @@ sub load_conf
 	}
 	my $conf_dir = $CONFIG_DIR . "/conf-enabled";
 	opendir(DIR, $conf_dir) || fail("$conf_dir: $!", 1);
-	while( readdir(DIR) )
+	while ( readdir(DIR) )
 	{
 		my $file = $_;
 		next if $file !~ m/\.conf$/;
@@ -250,7 +250,7 @@ sub load_sites
 	}
 	my $conf_dir = $CONFIG_DIR . "/sites-enabled";
 	opendir(DIR, $conf_dir) || fail("$conf_dir: $!", 1);
-	while( readdir(DIR) )
+	while ( readdir(DIR) )
 	{
 		my $file = $_;
 		next if $file !~ m/\.conf$/;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-apache/apache2.git



More information about the Pkg-apache-commits mailing list