gnue-report
John Proios <[email protected]> Wed, 30 Sep 2009 15:14:30 +0300
| Newsgroups | gmane.comp.gnu.enterprise.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi again. Patch to report because if mysql field type is decimal the gnue-report has error. _______________________________________________ Gnue-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnue-dev
diff
(text/x-diff, 857 B)
*** GRDataMapper.py 2009-09-30 14:52:55.000000000 +0300
--- GRDataMapper_snigel.py 2009-09-30 15:07:30.000000000 +0300
***************
*** 33,39 ****
from gnue.common.apps import GDebug
from gnue.common.formatting import GDataFormatter
from gnue.common.external.fixedpoint import FixedPoint
! import types, string
#
--- 33,39 ----
from gnue.common.apps import GDebug
from gnue.common.formatting import GDataFormatter
from gnue.common.external.fixedpoint import FixedPoint
! import types, string, decimal
#
***************
*** 428,431 ****
}
# Python types that are numeric
! _numericTypes = (types.FloatType, types.IntType, types.LongType)
--- 428,431 ----
}
# Python types that are numeric
! _numericTypes = (types.FloatType, types.IntType, types.LongType, decimal.Decimal)