writemsg("!!! Previously fetched file: "+str(myfile)+"\n", noiselevel=-1)
writemsg("!!! Reason: "+reason[0]+"\n", noiselevel=-1)
writemsg("!!! Got: %s\n!!! Expected: %s\n" % \
- (reason[0], reason[1]), noiselevel=-1)
+ (reason[1], reason[2]), noiselevel=-1)
writemsg("Refetching...\n\n", noiselevel=-1)
os.unlink(mysettings["DISTDIR"]+"/"+myfile)
fetched=0
writemsg("!!! Reason: "+reason[0]+"\n",
noiselevel=-1)
writemsg("!!! Got: %s\n!!! Expected: %s\n" % \
- (reason[0], reason[1]), noiselevel=-1)
+ (reason[1], reason[2]), noiselevel=-1)
writemsg("Removing corrupt distfile...\n", noiselevel=-1)
os.unlink(mysettings["DISTDIR"]+"/"+myfile)
fetched=0