Author: reinhard Date: 2010-11-14 12:34:58 -0600 (Sun, 14 Nov 2010) New Revision: 10238
Modified: trunk/gnue-reports/ trunk/gnue-reports/src/base/GRDataMapper.py Log: No check needed, we require Python 2.5 anyway. Property changes on: trunk/gnue-reports ___________________________________________________________________ Name: bzr:revision-info - timestamp: 2010-04-26 10:36:02.704999924 +0200 committer: Reinhard Müller <reinhard.muel...@bytewise.at> properties: branch-nick: reports + timestamp: 2010-11-14 19:34:25.996999979 +0100 committer: Reinhard Müller <reinhard.muel...@bytewise.at> properties: branch-nick: reports Name: bzr:file-ids - po/el.po 9...@3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-reports:po%2Fel.po + src/base/GRDataMapper.py 1...@3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-reports:src%2Fbase%2FGRDataMapper.py Name: bzr:revision-id:v4 - 604 reinhard.muel...@bytewise.at-20100426083602-n7lwmoxjctbo4ktk + 604 reinhard.muel...@bytewise.at-20100426083602-n7lwmoxjctbo4ktk 605 reinhard.muel...@bytewise.at-20101114183425-7ey0anwrt2820izg Name: bzr:text-parents - po/el.po svn-v3-single1-dHJ1bmsvZ251ZS1yZXBvcnRz:3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-reports:10140 + src/base/GRDataMapper.py svn-v3-single1-dHJ1bmsvZ251ZS1yZXBvcnRz:3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-reports:10033 Modified: trunk/gnue-reports/src/base/GRDataMapper.py =================================================================== --- trunk/gnue-reports/src/base/GRDataMapper.py 2010-11-14 13:01:38 UTC (rev 10237) +++ trunk/gnue-reports/src/base/GRDataMapper.py 2010-11-14 18:34:58 UTC (rev 10238) @@ -35,10 +35,8 @@ from gnue.common.external.fixedpoint import FixedPoint import types, string import sys +import decimal -if sys.hexversion >= 0x02040000: - import decimal - # # Class used internally by GRDataMapper # Classes other than GRDataMapper should not @@ -431,6 +429,5 @@ } # Python types that are numeric -_numericTypes = [types.FloatType, types.IntType, types.LongType] -if sys.hexversion >= 0x02040000: - _numericTypes.append(decimal.Decimal) +_numericTypes = [types.FloatType, types.IntType, types.LongType, + decimal.Decimal] _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue