mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-04 02:26:16 +01:00
- getProjectGlobalServices: catch 400 instead of 404
otherwise it breaks older obs instances
This commit is contained in:
parent
c14f81c1f2
commit
b04550afc6
@ -250,7 +250,7 @@ class Serviceinfo:
|
||||
root = ET.parse(f).getroot()
|
||||
self.read(root, True)
|
||||
except urllib2.HTTPError, e:
|
||||
if e.code != 404:
|
||||
if e.code != 400:
|
||||
raise e
|
||||
|
||||
def addVerifyFile(self, serviceinfo_node, filename):
|
||||
|
Loading…
Reference in New Issue
Block a user