1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 09:16:16 +02:00

_product packages have _meta files ...

This commit is contained in:
Adrian Schröter 2010-06-18 11:43:42 +02:00
parent 1c02a1bd06
commit dc8fa3275a

View File

@ -2263,8 +2263,8 @@ def show_package_meta(apiurl, prj, pac, meta=False):
if meta:
query['meta'] = 1
# packages like _project, _pattern and _project do not have a _meta file
if pac.startswith('_'):
# packages like _pattern and _project do not have a _meta file
if pac.startswith('_pattern') or pac.startswith('_project'):
return ""
url = makeurl(apiurl, ['source', prj, pac, '_meta'], query)