diff options
Diffstat (limited to 'src/rm.py')
-rw-r--r-- | src/rm.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ from common import * def rm_pkg(pkg) -> None: - cmd = f"{root} rm -fr {os.path.join(FULL_REPOS_LOCATION, pkg)}" + cmd = f"{ROOT} rm -fr {os.path.join(FULL_REPOS_LOCATION, pkg)}" print(cmd) os.system(cmd) @@ -21,7 +21,7 @@ def rm(pkg, repos) -> None: elif len(found) == 1: use = found[0] else: - names = [f"{x["path"]}:{x["repo"]}" for x in found] + names = [f"{x['path']}:{x['repo']}" for x in found] selected = questionary.select(f"{pkg} is ambiguous, select a more specific package", names).ask().split(":") use = [x for x in found if x["path"] == selected[0] and x["repo"] == selected[1]][0] print(use) |