1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-23 10:42:14 +01:00

Fix copypac with _pattern files

Some _pattern packages do have indeed a _meta.
This commit is contained in:
Sascha Peilicke 2013-09-16 17:19:15 +02:00
parent bf2e372c30
commit 529e1d4716

View File

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