mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-22 18:22:12 +01:00
- getProjectGlobalServices: catch 400 instead of 404
otherwise it breaks older obs instances
This commit is contained in:
parent
95b43d61e4
commit
15d50b27bb
@ -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…
x
Reference in New Issue
Block a user