Skip to content

Commit 1007e3b

Browse files
committed
Fix selfs
1 parent 61557b6 commit 1007e3b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/manage/uninstall_command.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def execute(cmd):
2626
cmd.virtual_env = None
2727
installed = list(cmd.get_installs())
2828

29-
self.tags = []
29+
cmd.tags = []
3030

3131
if cmd.purge:
3232
if cmd.ask_yn("Uninstall all runtimes?"):
@@ -65,13 +65,13 @@ def execute(cmd):
6565
for tag in cmd.args:
6666
try:
6767
if tag.casefold() == "default".casefold():
68-
self.tags.append(tag_or_range(cmd.default_tag))
68+
cmd.tags.append(tag_or_range(cmd.default_tag))
6969
else:
70-
self.tags.append(tag_or_range(tag))
70+
cmd.tags.append(tag_or_range(tag))
7171
except ValueError as ex:
7272
LOGGER.warn("%s", ex)
7373

74-
for tag in self.tags:
74+
for tag in cmd.tags:
7575
candidates = get_matching_install_tags(
7676
installed,
7777
tag,

0 commit comments

Comments
 (0)