# HG changeset patch # User Ludovic Chabant # Date 1499575443 25200 # Node ID 85d2b386b971fe25088f76042db87e3bdf92b8ea # Parent accfe8fc844006614f326cd72a51bdbe92ef7132 fix: Don't crash during some iterative builds. diff -r accfe8fc8440 -r 85d2b386b971 piecrust/sources/taxonomy.py --- 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: