[Commits] (vajda) oops, buildenv not passed in

commits at osafoundation.org commits at osafoundation.org
Tue Aug 24 20:06:08 PDT 2004


Commit by: vajda
Modified files:
hardhat/hardhatlib.py 1.80 1.81

Log message:
oops, buildenv not passed in

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/hardhat/hardhatlib.py.diff?r1=text&tr1=1.80&r2=text&tr2=1.81

Index: hardhat/hardhatlib.py
diff -u hardhat/hardhatlib.py:1.80 hardhat/hardhatlib.py:1.81
--- hardhat/hardhatlib.py:1.80	Tue Aug 24 16:57:00 2004
+++ hardhat/hardhatlib.py	Tue Aug 24 20:06:07 2004
@@ -1,5 +1,5 @@
-__version__     = "$Revision: 1.80 $"
-__date__        = "$Date: 2004/08/24 23:57:00 $"
+__version__     = "$Revision: 1.81 $"
+__date__        = "$Date: 2004/08/25 03:06:07 $"
 __copyright__   = "Copyright (c) 2003 Open Source Applications Foundation"
 __license__     = "GPL -- see LICENSE.txt"
 
@@ -37,7 +37,7 @@
 }
 
 
-def getCHANDLERvars():
+def getCHANDLERvars(buildenv):
 
     CHANDLERHOME = os.getenv('CHANDLERHOME')
     if not CHANDLERHOME:
@@ -122,7 +122,7 @@
     else:
         raise HardHatUnknownPlatformError
 
-    CHANDLERHOME, CHANDLERBIN = getCHANDLERvars()
+    CHANDLERHOME, CHANDLERBIN = getCHANDLERvars(buildenv)
 
     buildenv['sh']   = findInPath(buildenv['path'], "sh")
     buildenv['make'] = findInPath(buildenv['path'], "make")
@@ -604,7 +604,7 @@
         
 def recursiveTest(buildenv, path):
 
-    CHANDLERHOME, CHANDLERBIN = getCHANDLERvars()
+    CHANDLERHOME, CHANDLERBIN = getCHANDLERvars(buildenv)
 
     path = os.path.abspath(path)
     os.chdir(path)
@@ -939,7 +939,7 @@
 
 def setupEnvironment(buildenv):
 
-    CHANDLERHOME, CHANDLERBIN = getCHANDLERvars()
+    CHANDLERHOME, CHANDLERBIN = getCHANDLERvars(buildenv)
     os.putenv('CHANDLERHOME', CHANDLERHOME)
     os.putenv('CHANDLERBIN', CHANDLERBIN)
 



More information about the Commits mailing list