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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user