Add stdin acceptance logic to the shell.py
This commit is contained in:
parent
73e9fe8464
commit
d0bc83a49c
@ -70,8 +70,12 @@ def main():
|
|||||||
|
|
||||||
parse_args(sys.argv)
|
parse_args(sys.argv)
|
||||||
project_name = CONF.project_name
|
project_name = CONF.project_name
|
||||||
cov = coverage.ReadCoverage(CONF.coverage_file)
|
if CONF.coverage_file:
|
||||||
coverage_rate = cov.get_coverage_rate()
|
cov = coverage.ReadCoverage(CONF.coverage_file)
|
||||||
|
coverage_rate = cov.get_coverage_rate()
|
||||||
|
else:
|
||||||
|
raise NotImplementedError()
|
||||||
|
#cov = coverage.ReadCoverage(sys.stdin)
|
||||||
process_results(project_name, coverage_rate)
|
process_results(project_name, coverage_rate)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user