This commit is contained in:
Alexis Metaireau 2010-12-13 22:46:53 +00:00
commit 7c82f5e037
2 changed files with 3 additions and 3 deletions

View file

@ -52,8 +52,6 @@ def run_generators(generators, settings, path, theme, output_path, markup):
generators = [p(context, settings, path, theme, output_path, markup)
for p in generators]
writer = Writer(output_path)
for p in generators:
if hasattr(p, 'generate_context'):
p.generate_context()
@ -62,6 +60,8 @@ def run_generators(generators, settings, path, theme, output_path, markup):
if output_path not in os.path.realpath(path):
clean_output_dir(output_path)
writer = Writer(output_path)
for p in generators:
if hasattr(p, 'generate_output'):
p.generate_output(writer)

View file

@ -7,7 +7,7 @@ if sys.version_info < (2,7):
setup(
name = "pelican",
version = '2.5.0',
version = '2.5.1',
url = 'http://alexis.notmyidea.org/pelican/',
author = 'Alexis Metaireau',
author_email = 'alexis@notmyidea.org',