1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-10-03 16:19:19 +02:00

5 Commits

Author SHA1 Message Date
lethliel
839fedb465 fix broken URLError handling in OscMirrorGroup.urlgrab()
If urlgrab returns a URLError (for example if the Network is unreachable)
the for loop did not continue and the osc build aborts.

Now we also catch the URLError and try the next mirror and return False
correctly if no mirror could be reached. And then try to download it from
api
2018-11-06 17:01:55 +01:00
lethliel
6d9be9862c reworked replacement of urlgrabber
to be in sync with osc/master
2018-11-02 10:21:08 +01:00
lethliel
a455fd8e39 remove debug print 2018-04-27 14:03:01 +02:00
lethliel
40ce84067e revised modules:
- simplified TextMeter/pb usage
- fixed header in meter.py
- delted unused vars in function calls
- get rid of most MGErrors
- do not check for file:// in grabber.py
2018-02-27 10:37:16 +01:00
lethliel
c629b9978a reworked based on talk with Marcus:
* renamed mirror.py to grabber.py
* moved OscFileGraber Class to grabber.py
* in OscMirrorGroup we now use a OscFileGrabber class
* moved progressbar handling in own module (meter.py)
* simplified MGError
2018-02-21 17:04:59 +01:00