Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > c4aaebff5a034775f37cbc49827cf3b9 > files > 14

smart-0.51-17mdv2008.0.src.rpm

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):