--- a/checker.py Thu Jul 07 14:24:22 2016 +0800
+++ b/checker.py Thu Jul 07 14:27:13 2016 +0800
if config['scm'] == 'git':
if not git_clone(config['url'], source):
- if config['scm'] == 'hg':
+ elif config['scm'] == 'hg':
if not hg_clone(config['url'], source):
if config['scm'] == 'git':
- if config['scm'] == 'hg':
+ elif config['scm'] == 'hg':
if config['scm'] == 'git':
- if config['scm'] == 'hg':
+ elif config['scm'] == 'hg':
if config['scm'] == 'git':
files = git_files(linter['include'], linter.get('exclude', []))
- if config['scm'] == 'hg':
+ elif config['scm'] == 'hg':
files = hg_files(linter['include'], linter.get('exclude', []))