Catch editor exiting with nonzero status
Review Request #6843 — Created Jan. 31, 2015 and discarded
Now edit_text doesn't try and read the temp file if the editor launches, but
exits with a nonzero status code.
I need a hand here, it looks like edit_text is only called from merge, and I'm not sure how rbt merge works.
This should not ship till I test this.
Description | From | Last Updated |
---|---|---|
local variable 'return_code' is assigned to but never used |
reviewbot | |
undefined name 'neturn_code' |
reviewbot | |
I don't know what exception type is appropriate here. It's either an error with the editor, or the user wanting … |
TB tbelaire | |
"go" -> "use" Period after intentionally. "in the meantime" -> "previously" |
brennie | |
Should we print this here, or should we leave this up to the caller to print an error message (perhaps … |
brennie | |
This should be in the past tense (e.g., "User aborted the editor.") |
brennie |
- Change Summary:
-
typo fix.
- Commit:
-
5d5189354664988354c5a9289dd511a807bff6a133a6c0c080b954267e24f82b1f2e76c9ad2ebbcc
- Diff:
-
Revision 2 (+8 -1)
-
Tool: Pyflakes Processed Files: rbtools/utils/console.py Tool: PEP8 Style Checker Processed Files: rbtools/utils/console.py