- Minor cleanup on Scyther output parser.
This commit is contained in:
parent
17d1898b29
commit
2ff5adf040
@ -280,11 +280,11 @@ class Scyther(object):
|
|||||||
# them.
|
# them.
|
||||||
if line.startswith("claim\t"):
|
if line.startswith("claim\t"):
|
||||||
# Claims are lost, reconstructed from the XML output
|
# Claims are lost, reconstructed from the XML output
|
||||||
continue
|
pass
|
||||||
if line.startswith("warning"):
|
elif line.startswith("warning"):
|
||||||
# Warnings are stored seperately
|
# Warnings are stored seperately
|
||||||
self.warnings.append(line)
|
self.warnings.append(line)
|
||||||
continue
|
else:
|
||||||
# otherwise it is an error
|
# otherwise it is an error
|
||||||
self.errors.append(line)
|
self.errors.append(line)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user