mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-07 05:38:43 +02:00
- getProjectGlobalServices: catch 400 instead of 404
otherwise it breaks older obs instances
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user