mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 01:26:23 +01:00
- osc build: don't fail if a server isn't reachable
This commit is contained in:
parent
7024449cd8
commit
41b2d79b90
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user