chore: clean up unreachable pass/else in run_pacman retry loop
This commit is contained in:
@@ -313,9 +313,7 @@ class PMPacman(PackageManager):
|
|||||||
host_env_process_output(command)
|
host_env_process_output(command)
|
||||||
return
|
return
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
if pacman_count <= self.pacman_num_retries:
|
if pacman_count > self.pacman_num_retries:
|
||||||
pass
|
|
||||||
else:
|
|
||||||
raise
|
raise
|
||||||
|
|
||||||
def install(self, pkgs, from_local=False):
|
def install(self, pkgs, from_local=False):
|
||||||
|
|||||||
Reference in New Issue
Block a user