mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-16 01:21:07 +00:00
Make sure source packages are specified with src:
This commit is contained in:
parent
d0149b00d7
commit
3d2127478d
@ -22,5 +22,7 @@ def query_rdepends(package, release, arch,
|
|||||||
"""Look up a packages reverse-dependencies on the Ubuntuwire
|
"""Look up a packages reverse-dependencies on the Ubuntuwire
|
||||||
Reverse- webservice
|
Reverse- webservice
|
||||||
"""
|
"""
|
||||||
|
if arch == 'source' and not package.startswith('src:'):
|
||||||
|
package = 'src:' + package
|
||||||
url = os.path.join(server, 'v1', release, arch, package)
|
url = os.path.join(server, 'v1', release, arch, package)
|
||||||
return json.load(urllib2.urlopen(url))
|
return json.load(urllib2.urlopen(url))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user