--- smart-0.50/smart/fetcher.py.orig 2007-06-21 15:09:38.000000000 +0200 +++ smart-0.50/smart/fetcher.py 2007-06-21 15:09:56.000000000 +0200 @@ -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):