altos: AltosSerial.flush_input shouldn't discard Interrupted exceptions
authorKeith Packard <keithp@keithp.com>
Sun, 14 Aug 2011 04:10:15 +0000 (21:10 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 14 Aug 2011 04:10:15 +0000 (21:10 -0700)
commit924d56a4d2d8b16530cd378b18cfc5d6e08420ed
tree5ef26000b726f86d861c9838f706382df72d2a36
parentdcd15032eec45f3fdd003050710ebd5b85052662
altos: AltosSerial.flush_input shouldn't discard Interrupted exceptions

The eeprom download code wants to interrupt serial communication so
that it can stop downloading stuff in the middle of a run. Make
flush_input pass the exception along instead of discarding it.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosDebug.java
altosui/AltosEepromDelete.java
altosui/AltosEepromDownload.java
altosui/AltosEepromManage.java
altosui/AltosSerial.java