From 41b2d79b90f3b5a33bc4f26197cb645e5a0ac551 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Thu, 6 May 2010 22:40:35 +0200 Subject: [PATCH] - osc build: don't fail if a server isn't reachable --- osc/fetch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osc/fetch.py b/osc/fetch.py index c7f63c0b..1b982d07 100644 --- a/osc/fetch.py +++ b/osc/fetch.py @@ -46,6 +46,8 @@ class OscFileGrabber: exc.exception = e exc.code = e.code raise exc + except IOError, e: + raise URLGrabError(4, str(e)) finally: f.close() return filename