commit | 411588c888c67de0c1301cbc0da19ff798ff2f64 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Dec 14 15:51:53 1992 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Dec 14 15:51:53 1992 +0000 |
tree | 84b87d8dae752ab3f051590e60c340b707b30684 | |
parent | 8307443175f4c763b07c76763114b41f5896cb1c [diff] [blame] |
sv now raises sv.error, not RuntimeError
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 @@ elif dev == DEVICE.TIMER0: try: captureData, fieldID = v.GetCaptureData() - except RuntimeError, val: + except sv.error, val: if val <> 'no data available': print val continue