mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
Merge pull request #1070 from adrianschroeter/fix_meta
Fix operating on _project meta
This commit is contained in:
commit
8f12f884c8
@ -3612,10 +3612,6 @@ def show_package_meta(apiurl, prj, pac, meta=False, blame=None):
|
|||||||
query['view'] = "blame"
|
query['view'] = "blame"
|
||||||
query['meta'] = 1
|
query['meta'] = 1
|
||||||
|
|
||||||
# The fake packages _project has no _meta file
|
|
||||||
if pac.startswith('_project'):
|
|
||||||
return ""
|
|
||||||
|
|
||||||
url = makeurl(apiurl, ['source', prj, pac, '_meta'], query)
|
url = makeurl(apiurl, ['source', prj, pac, '_meta'], query)
|
||||||
try:
|
try:
|
||||||
f = http_GET(url)
|
f = http_GET(url)
|
||||||
|
Loading…
Reference in New Issue
Block a user