diff options
author | Greg Noel <GregNoel@tigris.org> | 2010-04-24 22:25:56 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2010-04-24 22:25:56 (GMT) |
commit | bcdc9a412521ae0b9f9aea7997a880af6dbda2a6 (patch) | |
tree | bbdcd3f7da00dc5fcfa712bfaf148f392ac12fda /QMTest/TestSCons.py | |
parent | ed90f2420a34f20480311261cf8663803ca65b6e (diff) | |
download | SCons-bcdc9a412521ae0b9f9aea7997a880af6dbda2a6.zip SCons-bcdc9a412521ae0b9f9aea7997a880af6dbda2a6.tar.gz SCons-bcdc9a412521ae0b9f9aea7997a880af6dbda2a6.tar.bz2 |
Convert to Python 3.x division rules.
Diffstat (limited to 'QMTest/TestSCons.py')
-rw-r--r-- | QMTest/TestSCons.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py index e35cbfe..f9e2250 100644 --- a/QMTest/TestSCons.py +++ b/QMTest/TestSCons.py @@ -13,6 +13,7 @@ attributes defined in this subclass. """ # __COPYRIGHT__ +from __future__ import division __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" @@ -994,13 +995,13 @@ class Stat: StatList = [ Stat('memory-initial', 'kbytes', r'Memory before reading SConscript files:\s+(\d+)', - convert=lambda s: int(s) / 1024), + convert=lambda s: int(s) // 1024), Stat('memory-prebuild', 'kbytes', r'Memory before building targets:\s+(\d+)', - convert=lambda s: int(s) / 1024), + convert=lambda s: int(s) // 1024), Stat('memory-final', 'kbytes', r'Memory after building targets:\s+(\d+)', - convert=lambda s: int(s) / 1024), + convert=lambda s: int(s) // 1024), Stat('time-sconscript', 'seconds', r'Total SConscript file execution time:\s+([\d.]+) seconds'), |