Skip to content

Commit a283c4b

Browse files
authored
Merge pull request #557 from zkamvar/znk-fix-556
lesson_check.py allow for missing life_cycle
2 parents a841a56 + b2f42c2 commit a283c4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/lesson_check.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ def check_config(reporter, source_dir):
188188
reporter.check(defaults in config.get('defaults', []),
189189
'configuration',
190190
'"root" not set to "." in configuration')
191+
if 'life_cycle' not in config:
192+
config['life_cycle'] = None
191193
return config['life_cycle']
192194

193195
def check_source_rmd(reporter, source_dir, parser):

0 commit comments

Comments
 (0)