- Updated Scyther interface.

This commit is contained in:
ccremers 2006-08-07 16:40:46 +00:00
parent 40bc144d88
commit 8bff33dc82

View File

@ -101,7 +101,7 @@ class Scyther(object):
def __str__(self): def __str__(self):
if self.run: if self.run:
if self.errorcount > 0: if self.errorcount > 0:
return "%i errors:\n%s" % (self.errorcount, "".join(self.errors)) return "%i errors:\n%s" % (self.errorcount, "\n".join(self.errors))
else: else:
s = "Claim results:\n" s = "Claim results:\n"
for cl in self.claims: for cl in self.claims: