[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/common/src GDataFormatter.py
From: |
Jason Cater |
Subject: |
gnue/common/src GDataFormatter.py |
Date: |
Wed, 01 Jan 2003 15:58:27 -0500 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: Jason Cater <address@hidden> 03/01/01 15:58:27
Modified files:
common/src : GDataFormatter.py
Log message:
oops; fixed dollar sign issue
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/GDataFormatter.py.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
Patches:
Index: gnue/common/src/GDataFormatter.py
diff -c gnue/common/src/GDataFormatter.py:1.7
gnue/common/src/GDataFormatter.py:1.8
*** gnue/common/src/GDataFormatter.py:1.7 Wed Jan 1 15:47:51 2003
--- gnue/common/src/GDataFormatter.py Wed Jan 1 15:58:27 2003
***************
*** 37,43 ****
if value == None:
return ""
elif mask:
!
# TODO: This whole section should be using FormatMasks
# TODO: This is all a gross hack!!!!
try:
--- 37,43 ----
if value == None:
return ""
elif mask:
!
# TODO: This whole section should be using FormatMasks
# TODO: This is all a gross hack!!!!
try:
***************
*** 54,60 ****
dec = 0
comma = mask.find(',') + 1
! if v[:1] == '$':
rv = "$"
else:
rv = ""
--- 54,60 ----
dec = 0
comma = mask.find(',') + 1
! if v[0][:1] == '$':
rv = "$"
else:
rv = ""