mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-14 00:21:08 +00:00
We don't 404 for empty responses any more, that was silly
This commit is contained in:
parent
1948b455be
commit
8f914adf7a
@ -23,9 +23,4 @@ def query_rdepends(package, release, arch,
|
||||
Reverse- webservice
|
||||
"""
|
||||
url = os.path.join(server, 'v1', release, arch, package)
|
||||
try:
|
||||
return json.load(urllib2.urlopen(url))
|
||||
except urllib2.HTTPError, e:
|
||||
if e.code == 404:
|
||||
return {}
|
||||
raise
|
||||
return json.load(urllib2.urlopen(url))
|
||||
|
Loading…
x
Reference in New Issue
Block a user