diff --git a/libraries/entropy.py b/libraries/entropy.py index e40625ae6..69d383856 100644 --- a/libraries/entropy.py +++ b/libraries/entropy.py @@ -3886,7 +3886,13 @@ class urlFetcher: rsx = "x" while rsx != '': - rsx = self.remotefile.read(self.bufferSize) + try: + rsx = self.remotefile.read(self.bufferSize) + except: + # python 2.4 timeouts go here + self.close() + self.status = "-3" + return self.status self.commitData(rsx) if self.showSpeed: self.updateProgress()