Don't try to smart find packages that aren't there.
We help out by looking for the obvious stuff. But sometimee, like in git-review, we don't have a package at all. Change-Id: Ic575c0008c69ffaba43a637b460899dd848d3fd5 Reviewed-on: https://review.openstack.org/26289 Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
2796f9add5
commit
778d76ba2a
|
@ -64,8 +64,9 @@ pbr.packaging.DistutilsInstall
|
|||
# ["test-requirements.txt", "tools/test-requires"])
|
||||
|
||||
files = config.get('files', dict())
|
||||
files['packages'] = smart_find_packages(
|
||||
files.get('packages', metadata['name']))
|
||||
package = files.get('packages', metadata['name']).strip()
|
||||
if os.path.isdir(package):
|
||||
files['packages'] = smart_find_packages(package)
|
||||
|
||||
if 'manpages' in pbr_config:
|
||||
man_sections = dict()
|
||||
|
|
Loading…
Reference in New Issue