diff options
author | Guido van Rossum <guido@python.org> | 1992-12-14 15:51:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-12-14 15:51:53 (GMT) |
commit | 411588c888c67de0c1301cbc0da19ff798ff2f64 (patch) | |
tree | 84b87d8dae752ab3f051590e60c340b707b30684 /Demo | |
parent | 8307443175f4c763b07c76763114b41f5896cb1c (diff) | |
download | cpython-411588c888c67de0c1301cbc0da19ff798ff2f64.zip cpython-411588c888c67de0c1301cbc0da19ff798ff2f64.tar.gz cpython-411588c888c67de0c1301cbc0da19ff798ff2f64.tar.bz2 |
sv now raises sv.error, not RuntimeError
Diffstat (limited to 'Demo')
-rwxr-xr-x | Demo/sgi/sv/contcapt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sgi/sv/contcapt.py b/Demo/sgi/sv/contcapt.py index 4d2e888..6c0a000 100755 --- a/Demo/sgi/sv/contcapt.py +++ b/Demo/sgi/sv/contcapt.py @@ -81,7 +81,7 @@ def main(): elif dev == DEVICE.TIMER0: try: captureData, fieldID = v.GetCaptureData() - except RuntimeError, val: + except sv.error, val: if val <> 'no data available': print val continue |