Skip to content

Commit

Permalink
Support answer_yes when removing kernel specs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Jun 14, 2021
1 parent 3732015 commit 162d4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_client/kernelspecapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def start(self):
if missing:
self.exit("Couldn't find kernel spec(s): %s" % ", ".join(missing))

if not self.force:
if not (self.force or self.answer_yes):
print("Kernel specs to remove:")
for name in self.spec_names:
print(" %s\t%s" % (name.ljust(20), spec_paths[name]))
Expand Down

0 comments on commit 162d4e3

Please sign in to comment.