diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-08-12 04:54:40 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-08-12 04:54:40 +0000 |
commit | f32ab4bb147e9d17884bcd287db8bc1d0c6f3add (patch) | |
tree | 00a939ea762314350542c8eb0cdf937fcace4490 /cppe/config/TestUtil.py | |
parent | ICEE_ -> ICE_ (diff) | |
download | ice-f32ab4bb147e9d17884bcd287db8bc1d0c6f3add.tar.bz2 ice-f32ab4bb147e9d17884bcd287db8bc1d0c6f3add.tar.xz ice-f32ab4bb147e9d17884bcd287db8bc1d0c6f3add.zip |
more ICEE -> ICE changes.
Diffstat (limited to 'cppe/config/TestUtil.py')
-rw-r--r-- | cppe/config/TestUtil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppe/config/TestUtil.py b/cppe/config/TestUtil.py index 8a1b7a6ffde..3ee1dac45e1 100644 --- a/cppe/config/TestUtil.py +++ b/cppe/config/TestUtil.py @@ -26,12 +26,12 @@ import sys, os, re def getIceVersion(): config = open(os.path.join(toplevel, "include", "IceE", "Config.h"), "r") - return re.search("ICEE_STRING_VERSION \"([0-9\.]*)\"", config.read()).group(1) + return re.search("ICE_STRING_VERSION \"([0-9\.]*)\"", config.read()).group(1) def getIceSoVersion(): config = open(os.path.join(toplevel, "include", "IceE", "Config.h"), "r") - intVersion = int(re.search("ICEE_INT_VERSION ([0-9]*)", config.read()).group(1)) + intVersion = int(re.search("ICE_INT_VERSION ([0-9]*)", config.read()).group(1)) majorVersion = intVersion / 10000 minorVersion = intVersion / 100 - 100 * majorVersion return '%d' % (majorVersion * 10 + minorVersion) |