- Minor cleanup on Scyther output parser.

This commit is contained in:
ccremers 2007-01-30 17:43:58 +00:00
parent 17d1898b29
commit 2ff5adf040

View File

@ -280,13 +280,13 @@ class Scyther(object):
# them.
if line.startswith("claim\t"):
# Claims are lost, reconstructed from the XML output
continue
if line.startswith("warning"):
pass
elif line.startswith("warning"):
# Warnings are stored seperately
self.warnings.append(line)
continue
# otherwise it is an error
self.errors.append(line)
else:
# otherwise it is an error
self.errors.append(line)
self.errorcount = len(self.errors)
if self.errorcount > 0: