modified one instruction

return False instead of sys.exit(-1) in the function next_object()
This commit is contained in:
ideophagous
2017-06-19 18:27:47 +03:00
committed by GitHub
parent 0e64227dac
commit 5d6a722baa
+3 -1
View File
@@ -523,7 +523,9 @@ class WartsReader(object):
return wd
else:
print "Unsupported object: %02x Len: %d" % (typ, length)
sys.exit(-1)
return False #with this commmand, I could run my program over several warts files,
#instead of having to run my script for each file separately due to the sys.exit() instruction
#sys.exit(-1)
if __name__ == "__main__":