diff options
Diffstat (limited to 'pyblog')
-rwxr-xr-x | pyblog | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -766,16 +766,8 @@ def generate_index_and_feed(): generate_sitemap(feed) -def static_vars(**kwargs): - def decorate(func): - for k in kwargs: - setattr(func, k, kwargs[k]) - return func - return decorate - - # exclude_list is only inialized once to avoid constant disk IO -@static_vars(exclude_list=None) +@utils.static_vars(exclude_list=None) def generate_blog(fresh=False, report_total_errors=True): """Generate the blog in BUILDDIR. |