Handling KeyboardInterrupt in Burrow shell
Bug #813438 reported by
Varadharajan Mukundan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Burrow |
Opinion
|
Undecided
|
Varadharajan Mukundan |
Bug Description
When a keyboard interrupt(for example : CTRL + C) is given as an input to the burrow shell, an exception is thrown. It would be better if the exception is caught and handled.
varadharajan@
2011-07-20 16:28:14,142 - burrow.backend.http - DEBUG - Module created
burrow> Traceback (most recent call last):
File "shell.py", line 243, in <module>
Shell().run()
File "shell.py", line 114, in run
for command in self._get_
File "shell.py", line 133, in _get_command
command = raw_input(prompt)
KeyboardInterrupt
Changed in burrow: | |
assignee: | nobody → Varadharajan Mukundan (srinathsmn) |
status: | New → Opinion |
description: | updated |
To post a comment you must log in.
The above patch when integrated would make the shell exit when a keyboard interrupt is given, after printing out a message regarding it