commit | d9a9c1066c64900a902f5a70b132880e29749ecc | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Sat Sep 13 01:57:25 2008 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Sat Sep 13 01:57:25 2008 +0000 |
tree | 3a019489694ff69f0a94003e0eea5952020aeb6c | |
parent | 0bef15846fb3a3a0c2c277ee7bc22ace719a47b6 [diff] [blame] |
Update uses of string exceptions
diff --git a/Demo/classes/bitvec.py b/Demo/classes/bitvec.py index 495a837..c0eafa0 100755 --- a/Demo/classes/bitvec.py +++ b/Demo/classes/bitvec.py
@@ -21,7 +21,7 @@ mant, l = math.frexp(float(param)) bitmask = 1L << l if bitmask <= param: - raise 'FATAL', '(param, l) = %r' % ((param, l),) + raise RuntimeError('(param, l) = %r' % ((param, l),)) while l: bitmask = bitmask >> 1 if param & bitmask: