diff -Naur smart-0.51/smart/fetcher.py smart-0.51.tpg/smart/fetcher.py --- smart-0.51/smart/fetcher.py 2006-11-14 16:52:51.000000000 +0000 +++ smart-0.51.tpg/smart/fetcher.py 2007-09-14 14:22:59.000000000 +0000 @@ -1638,6 +1638,7 @@ handle.setopt(pycurl.WRITEDATA, local) handle.setopt(pycurl.FOLLOWLOCATION, 1) handle.setopt(pycurl.MAXREDIRS, 5) + handle.setopt(pycurl.FAILONERROR, 1) # check if we have a valid local file and use I-M-S if fetcher.validate(item, localpath):