Don't execute py2rpm with no names.
An error can be triggered by downloading anvil and then just trying to uninstall (before preparing and installing). Change-Id: I1e7fa76b55ec23851374966d4b49fcedd648e3d6
This commit is contained in:
@@ -272,6 +272,9 @@ BuildArch: noarch
|
||||
self.anvil_repo_filename, utils.expand_template(content, params))
|
||||
|
||||
def _create_openstack_packages_list(self):
|
||||
if not self.python_names:
|
||||
return []
|
||||
|
||||
cmdline = [self.py2rpm_executable, "--convert"] + self.python_names
|
||||
rpm_names = []
|
||||
# run as root since /tmp/pip-build-root must be owned by root
|
||||
|
||||
Reference in New Issue
Block a user