aboutsummaryrefslogtreecommitdiff
path: root/pixelmappers
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2011-02-16 18:20:36 -0500
committerGravatar rcoh <rcoh@mit.edu>2011-02-16 18:20:36 -0500
commit2df9e408a0ff74539862c4a4e562a878cc11a329 (patch)
treef9388ceb03bf4fe5166c2c474b68e08733a4a54a /pixelmappers
parent83242972c09032eb89dd547f3ff3c4dcc2693555 (diff)
Code cleanup. Made Oval behavior (circle with h/w).
Diffstat (limited to 'pixelmappers')
-rw-r--r--pixelmappers/SimpleMapper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pixelmappers/SimpleMapper.py b/pixelmappers/SimpleMapper.py
index 6603c98..1decdd1 100644
--- a/pixelmappers/SimpleMapper.py
+++ b/pixelmappers/SimpleMapper.py
@@ -44,7 +44,7 @@ class SimpleMapper(PixelMapper):
if pixelValid:
ret.append((pixel, 1))
except Exception as exp:
- import pdb; pdb.set_trace()
- raise Exception('Bad event condition')
+ exp.message += 'Bad Event Condition'
+ raise exp
return ret