From b9699a75ad84094dd0f7e5b2ce3249fe7cb4873e Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Fri, 14 Jun 2013 13:54:38 -0700 Subject: [PATCH] Don't call py2rpm for no keys Change-Id: I38158fc8c0813d17df1985eac10a5fcf85a6eb4b --- anvil/packaging/yum.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/anvil/packaging/yum.py b/anvil/packaging/yum.py index 5d249772..59414f12 100644 --- a/anvil/packaging/yum.py +++ b/anvil/packaging/yum.py @@ -353,9 +353,8 @@ BuildArch: noarch tracewriter=self.tracewriter) def _convert_names_python2rpm(self, python_names): - if not self.python_names: + if not python_names: return [] - cmdline = self.py2rpm_start_cmdline() + ["--convert"] + python_names rpm_names = [] for name in sh.execute(cmdline)[0].splitlines():