mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-05 07:03:38 +02:00
- osc build: don't fail if a server isn't reachable
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user