summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-09 13:02:03 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-09 13:02:03 -0400
commitc7da9911580e9311981758922d354aea03b8074c (patch)
treee388e31605868cc522204c5f70b2aed53b70150e /IkiWiki/Plugin
parentb7351daacd0d4a041a51b43d99b7bf589de54f53 (diff)
indentation
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/conditional.pm8
1 files changed, 4 insertions, 4 deletions
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},