Mercurial > piecrust2
changeset 896:85d2b386b971
fix: Don't crash during some iterative builds.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 08 Jul 2017 21:44:03 -0700 |
parents | accfe8fc8440 |
children | b4156f5d4368 |
files | piecrust/sources/taxonomy.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/piecrust/sources/taxonomy.py Sun Jul 02 22:23:12 2017 -0700 +++ b/piecrust/sources/taxonomy.py Sat Jul 08 21:44:03 2017 -0700 @@ -384,7 +384,7 @@ entries.append(prev_entry) for e in entries: - if e.was_any_sub_baked: + if e and e.was_any_sub_baked: entry_terms = e.config.get(taxonomy.setting_name) if entry_terms: if not taxonomy.is_multiple: