##// END OF EJS Templates
Merge pull request #6535 from Carreau/kspec-exists...
Thomas Kluyver -
r17962:3849e0a1 merge
parent child Browse files
Show More
@@ -16,7 +16,7 b' from .kernelspec import KernelSpecManager, _pythonfirst'
16 16 class ListKernelSpecs(BaseIPythonApplication):
17 17 description = """List installed kernel specifications."""
18 18 kernel_spec_manager = Instance(KernelSpecManager)
19
19
20 20 # Not all of the base aliases are meaningful (e.g. profile)
21 21 aliases = {k: base_aliases[k] for k in ['ipython-dir', 'log-level']}
22 22 flags = {'debug': base_flags['debug'],}
@@ -119,6 +119,9 b' class InstallNativeKernelSpec(BaseIPythonApplication):'
119 119 if e.errno == errno.EACCES:
120 120 print("Permission denied")
121 121 self.exit(1)
122 if e.errno == errno.EEXIST:
123 print("File or folder already exists")
124 self.exit(1)
122 125 raise
123 126
124 127 class KernelSpecApp(Application):
General Comments 0
You need to be logged in to leave comments. Login now