Don't call py2rpm for no keys
Change-Id: I38158fc8c0813d17df1985eac10a5fcf85a6eb4b
This commit is contained in:
parent
8d72b63bfe
commit
b9699a75ad
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user