Synchronizing lesson checker with late changes
authorGreg Wilson <gvwilson@third-bit.com>
Thu, 14 Jul 2016 14:43:35 +0000 (10:43 -0400)
committerGreg Wilson <gvwilson@third-bit.com>
Thu, 14 Jul 2016 14:43:35 +0000 (10:43 -0400)
bin/lesson_check.py

index 39f8b651eb03812a91deea9e84563d046f9c540d..95ceb5ee260aa2f3eb413aaa879c76ea52f41562 100755 (executable)
@@ -150,13 +150,6 @@ def check_config(reporter, source_dir):
     reporter.check_field(config_file, 'configuration', config, 'carpentry', ('swc', 'dc'))
     reporter.check_field(config_file, 'configuration', config, 'title')
     reporter.check_field(config_file, 'configuration', config, 'email')
-    reporter.check_field(config_file, 'configuration', config, 'repo')
-    reporter.check_field(config_file, 'configuration', config, 'root')
-    if ('repo' in config) and ('root' in config):
-        reporter.check(config['repo'].endswith(config['root']),
-                       config_file,
-                       'Repository name "{0}" not consistent with root "{1}"',
-                       config['repo'], config['root'])
 
 
 def read_all_markdown(source_dir, parser):