[cig-commits] r5965 - cs/pythia/trunk/pyre/applications
leif at geodynamics.org
leif at geodynamics.org
Mon Feb 5 15:43:15 PST 2007
Author: leif
Date: 2007-02-05 15:43:15 -0800 (Mon, 05 Feb 2007)
New Revision: 5965
Modified:
cs/pythia/trunk/pyre/applications/ComponentHarness.py
Log:
Dusted-off 'ComponentHarness'.
Modified: cs/pythia/trunk/pyre/applications/ComponentHarness.py
===================================================================
--- cs/pythia/trunk/pyre/applications/ComponentHarness.py 2007-02-05 17:27:50 UTC (rev 5964)
+++ cs/pythia/trunk/pyre/applications/ComponentHarness.py 2007-02-05 23:43:15 UTC (rev 5965)
@@ -29,9 +29,9 @@
# configure the component
# collect unknown traits for the components and its subcomponents
- up, uc = self.configureHarnessedComponent(component, curator, registry)
+ context = self.configureHarnessedComponent(component, curator, registry)
- if not self.verifyConfiguration(up, uc):
+ if not context.verifyConfiguration('strict'):
return
# initialize the component
@@ -90,10 +90,9 @@
component.updateConfiguration(registry)
# load the configuration onto the inventory
- up, uc = component.applyConfiguration()
+ context = component.applyConfiguration()
- # return the rejected settings
- return up, uc
+ return context
def __init__(self):
More information about the cig-commits
mailing list