diff --git a/bin/lesson_check.py b/bin/lesson_check.py index 25388d39..193f994f 100644 --- a/bin/lesson_check.py +++ b/bin/lesson_check.py @@ -188,6 +188,8 @@ def check_config(reporter, source_dir): reporter.check(defaults in config.get('defaults', []), 'configuration', '"root" not set to "." in configuration') + if 'life_cycle' not in config: + config['life_cycle'] = None return config['life_cycle'] def check_source_rmd(reporter, source_dir, parser):