getpelican/pelican — pull request #1318 by smartass101 (2014-04-18 05:03:15+00:00)
Title: set _cache_open func even if not loading cache, fixes autoreload

The _cache_open attribute of the FileDataCacher class was not set when
settings[load_policy_key] was not True, so saving later failed.
As a precaution, replaced the `if ...: return` style with a plain
if structure to prevent such readability issues.