- Include version number in cache id.

This commit is contained in:
ccremers 2006-02-23 10:49:23 +00:00
parent 24832d641d
commit ec4cb6eb68

View File

@ -65,14 +65,14 @@ def evaluate (argumentstring, inputstring):
def cacheid():
m = md5.new()
# # Determine scyther version
# (status, scout) = scythercall ("--version", "")
# if status == 1 or status < 0:
# # some problem
# print "Problem with determining scyther version!"
# os.exit()
# # Add version to hash
# m.update (scout)
# Determine scyther version
(status, scout) = scythercall ("--version", "")
if status == 1 or status < 0:
# some problem
print "Problem with determining scyther version!"
os.exit()
# Add version to hash
m.update (scout)
# Add inputfile to hash
m.update (inputstring)