summaryrefslogtreecommitdiff
path: root/IkiWiki/Setup
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-03-28 20:23:22 -0400
committerJoey Hess <joey@gnu.kitenet.net>2010-03-28 20:23:22 -0400
commit799b93d258bad917262ac160df74136f05d4a451 (patch)
treee56f4a9792e5b716a4b95116d08ebef8df51996c /IkiWiki/Setup
parentb6666f5ac81ef4c8646a6290cf5c885adf0e385f (diff)
don't check $@ after pagespec_translate
pagespec_translate may set $@ if it fails to parse a pagespec, but due to memoization, this is not reliable. If a memoized call is repeated, and $@ is already set for some other reason previously, it will remain set through the call to pagespec_translate. Instead, just check if pagespec_translate returns undef.
Diffstat (limited to 'IkiWiki/Setup')
0 files changed, 0 insertions, 0 deletions