Show More
@@ -201,8 +201,11 b' class BaseIPythonApplication(Application):' | |||||
201 | self.log.warning("Subcommand `ipython {sub}` is deprecated and will be removed " |
|
201 | self.log.warning("Subcommand `ipython {sub}` is deprecated and will be removed " | |
202 | "in future versions.".format(sub=subc)) |
|
202 | "in future versions.".format(sub=subc)) | |
203 | self.log.warning("You likely want to use `jupyter {sub}`... continue " |
|
203 | self.log.warning("You likely want to use `jupyter {sub}`... continue " | |
204 | "in 5 sec".format(sub=subc)) |
|
204 | "in 5 sec. Press Ctrl-C to quit now.".format(sub=subc)) | |
205 |
t |
|
205 | try: | |
|
206 | time.sleep(5) | |||
|
207 | except KeyboardInterrupt: | |||
|
208 | sys.exit(1) | |||
206 | return super(BaseIPythonApplication, self).initialize_subcommand(subc, argv) |
|
209 | return super(BaseIPythonApplication, self).initialize_subcommand(subc, argv) | |
207 |
|
210 | |||
208 | def init_crash_handler(self): |
|
211 | def init_crash_handler(self): |
General Comments 0
You need to be logged in to leave comments.
Login now