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