1
0
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:
Marcus Huewe 2011-06-08 13:22:51 +02:00 committed by Adrian Schröter
parent 95b43d61e4
commit 15d50b27bb

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