16 |
# write to the Free Software Foundation, Inc., 59 Temple Place |
# write to the Free Software Foundation, Inc., 59 Temple Place |
17 |
# - Suite 330, Boston, MA 02111-1307, USA. |
# - Suite 330, Boston, MA 02111-1307, USA. |
18 |
# |
# |
19 |
# Copyright 2001 Free Software Foundation |
# Copyright 2001-2003 Free Software Foundation |
20 |
# |
# |
21 |
# FILE: |
# FILE: |
22 |
# NumberMask.py |
# NumberMask.py |
201 |
value[ self.inputMaskPos[i]: \ |
value[ self.inputMaskPos[i]: \ |
202 |
self.inputMaskPos[i] + self.inputMaskLen[i]], date ) |
self.inputMaskPos[i] + self.inputMaskLen[i]], date ) |
203 |
elif mustValidate: |
elif mustValidate: |
204 |
raise InvalidEntry, _("Invalid Entry") |
tmsg = _("Invalid Entry") |
205 |
|
raise InvalidEntry, tmsg |
206 |
|
|
207 |
return date |
return date |
208 |
|
|