Don't call py2rpm for no keys

Change-Id: I38158fc8c0813d17df1985eac10a5fcf85a6eb4b
This commit is contained in:
Joshua Harlow 2013-06-14 13:54:38 -07:00
parent 8d72b63bfe
commit b9699a75ad

View File

@ -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():