[gnue] r10238 - in trunk/gnue-reports: . src/base

[email protected] Sun, 14 Nov 2010 12:34:58 -0600 (CST)
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
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=C3=BCller <[email protected]>
properties:=20
	branch-nick: reports

   + timestamp: 2010-11-14 19:34:25.996999979 +0100
committer: Reinhard M=C3=BCller <[email protected]>
properties:=20
	branch-nick: reports

Name: bzr:file-ids
   - po/el.po	9877@3a364389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-repo=
rts:po%2Fel.po

   + src/base/GRDataMapper.py	1186@3a364389-8fce-0310-8f11-cc363fde16c7:t=
runk%2Fgnue-reports:src%2Fbase%2FGRDataMapper.py

Name: bzr:revision-id:v4
   - 604 [email protected]

   + 604 [email protected]
605 [email protected]

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:3a3=
64389-8fce-0310-8f11-cc363fde16c7:trunk%2Fgnue-reports:10033


Modified: trunk/gnue-reports/src/base/GRDataMapper.py
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- 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
=20
-if sys.hexversion >=3D 0x02040000:
-    import decimal
-
 #
 # Class used internally by GRDataMapper
 # Classes other than GRDataMapper should not
@@ -431,6 +429,5 @@
                     }
=20
 # Python types that are numeric
-_numericTypes =3D [types.FloatType, types.IntType, types.LongType]
-if sys.hexversion >=3D 0x02040000:
-    _numericTypes.append(decimal.Decimal)
+_numericTypes =3D [types.FloatType, types.IntType, types.LongType,
+        decimal.Decimal]