Fixed version number (for 0release)
[dom-editor.git] / Dome / Beep.py
blob329690fd71d3447631710b9d75e39869a97b416a
1 class Beep(Exception):
2 def __init__(self, message = None, may_record = 0):
3 self.may_record = may_record
4 if message: print "(Beep:%s)" % message
5 self.message = message
7 def __str__(self):
8 if self.message:
9 return "<Beep:%s>" % self.message
10 else:
11 return "<Beep!>"