Fixed 'All results up-to-date" not showing when starting with all up-to-date.

This commit is contained in:
Andrew Hamilton 2016-01-30 07:50:04 +00:00
parent 87341762a5
commit d488d2f952
2 changed files with 6 additions and 6 deletions

4
BUGS
View file

@ -1,7 +1,5 @@
Current
- Within the sandbox sudo is not working for tools.
- If vigil is started with eveything up-to-date the up-to-date message never
appears.
Current (tool related)
@ -212,6 +210,8 @@ Fixed
e.g. vigil.py pylint, BUGS metadata, BUGS _pygments
- Tracebacks occur if you pause during early startup.
- Scrolling in the help screen doesn't work with the arrow keys.
- If vigil is started with eveything up-to-date the up-to-date message never
appears.
Won't fix

8
vigil
View file

@ -889,15 +889,15 @@ class Runner:
self.result = summary.get_closest_placeholder()
except StopIteration:
self.result = None
if summary.result_total == summary.completed_total:
log.log_message("All results are up to date.")
if self.is_being_tested:
os.kill(os.getpid(), signal.SIGINT)
break
with contextlib.suppress(ValueError): # Process was terminated
self.result.run(log, appearance_changed_event, self.worker,
self)
summary.completed_total += 1
if summary.result_total == summary.completed_total:
log.log_message("All results are up to date.")
if self.is_being_tested:
os.kill(os.getpid(), signal.SIGINT)
jobs_added_event.clear()
def pause(self):