From: Joey Hess <joey@gnu.kitenet.net>
Date: Fri, 9 Oct 2009 17:02:03 +0000 (-0400)
Subject: indentation
X-Git-Tag: 3.20091017~27^2~46
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/c7da9911580e9311981758922d354aea03b8074c

indentation
---

diff --git a/IkiWiki/Plugin/conditional.pm b/IkiWiki/Plugin/conditional.pm
index 7ead701f2..bc7b8974d 100644
--- a/IkiWiki/Plugin/conditional.pm
+++ b/IkiWiki/Plugin/conditional.pm
@@ -30,10 +30,10 @@ sub preprocess_if (@) {
 
 	my $result=0;
 	if (! IkiWiki::yesno($params{all}) ||
-		# An optimisation to avoid needless looping over every page
-		# and adding of dependencies for simple uses of some of the
-		# tests.
-		$params{test} =~ /^([\s\!()]*((enabled|sourcepage|destpage|included)\([^)]*\)|(and|or))[\s\!()]*)+$/) {
+	    # An optimisation to avoid needless looping over every page
+	    # and adding of dependencies for simple uses of some of the
+	    # tests.
+	    $params{test} =~ /^([\s\!()]*((enabled|sourcepage|destpage|included)\([^)]*\)|(and|or))[\s\!()]*)+$/) {
 		add_depends($params{page}, "($params{test}) and $params{page}");
 		$result=pagespec_match($params{page}, $params{test},
 				location => $params{page},