Page MenuHomePhabricator

templater: simplify templatepaths() to avoid iterating a singleton list
ClosedPublic

Authored by martinvonz on Wed, Jul 22, 1:24 AM.

Details

Summary

The function iterates over a hard-coded list of one element since
d844e220792a (templater: don't search randomly for templates - trust
util.datapath, 2014-09-28).

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.