exit when failures are reported

This commit is contained in:
Seth Schoen 2012-07-12 16:49:28 -07:00
parent e12d7f8fea
commit 5407be4df6

View file

@ -3,7 +3,7 @@
from chocolate_protocol_pb2 import chocolatemessage
from Crypto.Hash import SHA256
import M2Crypto
import urllib2, os, sys, time, random, CSR
import urllib2, os, sys, time, random, CSR, sys
def sha256(m):
return SHA256.new(m).hexdigest()