From: <pat...@us...> - 2011-03-27 17:20:12
|
Revision: 1267 http://ggt.svn.sourceforge.net/ggt/?rev=1267&view=rev Author: patrickh Date: 2011-03-27 17:20:05 +0000 (Sun, 27 Mar 2011) Log Message: ----------- Silence API deprecation warnings from SCons. Modified Paths: -------------- trunk/SConstruct trunk/Test/TestSuite/SConscript trunk/python/SConscript trunk/tools/build/AutoDist.py Modified: trunk/SConstruct =================================================================== --- trunk/SConstruct 2011-03-12 13:56:01 UTC (rev 1266) +++ trunk/SConstruct 2011-03-27 17:20:05 UTC (rev 1267) @@ -736,7 +736,7 @@ subdirs.append('Test') SConscript(dirs = subdirs) - env = baseEnv.Copy() + env = baseEnv.Clone() # Build up the provides vars for the .fpc files provides = "gmtl" Modified: trunk/Test/TestSuite/SConscript =================================================================== --- trunk/Test/TestSuite/SConscript 2011-03-12 13:56:01 UTC (rev 1266) +++ trunk/Test/TestSuite/SConscript 2011-03-27 17:20:05 UTC (rev 1267) @@ -14,7 +14,7 @@ sources.extend(testcases_sources) # Setup the runtests executable target -env = baseEnv.Copy() +env = baseEnv.Clone() ApplyCppUnitOptions(env) env.Append(CPPPATH = Split('#Test/TestSuite #')) Modified: trunk/python/SConscript =================================================================== --- trunk/python/SConscript 2011-03-12 13:56:01 UTC (rev 1266) +++ trunk/python/SConscript 2011-03-27 17:20:05 UTC (rev 1267) @@ -20,7 +20,7 @@ # Define the Python module -env = baseEnv.Copy() +env = baseEnv.Clone() # If using GCC, deal with ld O(n^2) algorithm. if env['CXX'][:3] == 'g++' and WhereIs('objcopy'): Modified: trunk/tools/build/AutoDist.py =================================================================== --- trunk/tools/build/AutoDist.py 2011-03-12 13:56:01 UTC (rev 1266) +++ trunk/tools/build/AutoDist.py 2011-03-27 17:20:05 UTC (rev 1267) @@ -109,7 +109,7 @@ # Clone the base environment if we have one if baseEnv: - self.data['env'] = baseEnv.Copy() + self.data['env'] = baseEnv.Clone() else: self.data['env'] = Environment() @@ -378,7 +378,7 @@ """ # Clone the base environment if we have one if baseEnv: - env = baseEnv.Copy() + env = baseEnv.Clone() else: env = Environment() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |