[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/common/src GTypecast.py
From: |
Arturas Kriukovas |
Subject: |
gnue/common/src GTypecast.py |
Date: |
Tue, 07 Jan 2003 12:01:23 -0500 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: Arturas Kriukovas <address@hidden> 03/01/07 12:01:23
Modified files:
common/src : GTypecast.py
Log message:
gettext updates
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/GTypecast.py.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
Patches:
Index: gnue/common/src/GTypecast.py
diff -c gnue/common/src/GTypecast.py:1.8 gnue/common/src/GTypecast.py:1.9
*** gnue/common/src/GTypecast.py:1.8 Wed Jan 1 19:45:41 2003
--- gnue/common/src/GTypecast.py Tue Jan 7 12:01:22 2003
***************
*** 153,159 ****
try:
v = int("%s" % value)
if v < 0:
! raise TypecastError, _("Whole numbers must be positive or 0")
return v
except ValueError:
raise TypecastError
--- 153,160 ----
try:
v = int("%s" % value)
if v < 0:
! tmsg = _("Whole numbers must be positive or 0")
! raise TypecastError, tmsg
return v
except ValueError:
raise TypecastError
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/common/src GTypecast.py,
Arturas Kriukovas <=