Entropy/EquoInterface:

- fetch_file: when running in debug mode, print the exception occured in urlFetcher, if any


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3059 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2009-02-22 19:03:27 +00:00
parent 2349b21596
commit 183e33e996
+8
View File
@@ -3662,6 +3662,14 @@ class EquoInterface(TextInterface):
except NameError:
raise
except:
if etpUi['debug']:
self.updateProgress(
"fetch_file:",
importance = 1,
type = "warning",
header = red(" ## ")
)
self.entropyTools.printTraceback()
return -1, data_transfer, resumed
if fetchChecksum == "-3":
return -3, data_transfer, resumed