From 411588c888c67de0c1301cbc0da19ff798ff2f64 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 14 Dec 1992 15:51:53 +0000 Subject: [PATCH] sv now raises sv.error, not RuntimeError --- Demo/sgi/sv/contcapt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demo/sgi/sv/contcapt.py b/Demo/sgi/sv/contcapt.py index 4d2e88865e2..6c0a0003bb4 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