/[papo]/gnue/common/src/FormatMasks/TextMask.py
ViewVC logotype

Diff of /gnue/common/src/FormatMasks/TextMask.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by styxman, Fri Nov 15 15:32:54 2002 UTC revision 1.4.2.1 by anthonyl, Tue Mar 4 22:09:32 2003 UTC
# Line 16  Line 16 
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  # TextMask.py  # TextMask.py
# Line 190  class TextMask (BaseMask): Line 190  class TextMask (BaseMask):
190              value[ self.inputMaskPos[i]: \              value[ self.inputMaskPos[i]: \
191                     self.inputMaskPos[i] + self.inputMaskLen[i]], date )                     self.inputMaskPos[i] + self.inputMaskLen[i]], date )
192        elif mustValidate:        elif mustValidate:
193          raise InvalidEntry, _("Invalid Entry")          tmsg = _("Invalid Entry")  
194            raise InvalidEntry, tmsg
195    
196      return date      return date
197            

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.4.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26