Skip to content

Commit 162d4e3

Browse files
committed
Support answer_yes when removing kernel specs
1 parent 3732015 commit 162d4e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_client/kernelspecapp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def start(self):
200200
if missing:
201201
self.exit("Couldn't find kernel spec(s): %s" % ", ".join(missing))
202202

203-
if not self.force:
203+
if not (self.force or self.answer_yes):
204204
print("Kernel specs to remove:")
205205
for name in self.spec_names:
206206
print(" %s\t%s" % (name.ljust(20), spec_paths[name]))

0 commit comments

Comments
 (0)