Skip to content

Commit

Permalink
Merge pull request #659 from davidbrochart/answer_yes
Browse files Browse the repository at this point in the history
Support answer_yes when removing kernel specs
  • Loading branch information
kevin-bates authored Jun 14, 2021
2 parents 3732015 + 162d4e3 commit 42a19da
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 42a19da

Please sign in to comment.