1
0
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:
Marcus Huewe 2011-06-08 13:22:51 +02:00
parent c14f81c1f2
commit b04550afc6

View File

@ -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):