incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strou...@apache.org
Subject svn commit: r1341743 - /incubator/tashi/trunk/src/tashi/clustermanager/clustermanager.py
Date Wed, 23 May 2012 05:05:57 GMT
Author: stroucki
Date: Wed May 23 05:05:57 2012
New Revision: 1341743

URL: http://svn.apache.org/viewvc?rev=1341743&view=rev
Log:
clustermanager: use soft config

Modified:
    incubator/tashi/trunk/src/tashi/clustermanager/clustermanager.py

Modified: incubator/tashi/trunk/src/tashi/clustermanager/clustermanager.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/clustermanager/clustermanager.py?rev=1341743&r1=1341742&r2=1341743&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/clustermanager/clustermanager.py (original)
+++ incubator/tashi/trunk/src/tashi/clustermanager/clustermanager.py Wed May 23 05:05:57 2012
@@ -23,6 +23,7 @@ import time
 import logging.config
 
 from tashi.util import boolean, instantiateImplementation, getConfig, debugConsole
+from tashi.utils import Config
 import tashi
 
 from tashi.rpycservices import rpycservices
@@ -64,7 +65,8 @@ def main():
 	global log
 	
 	# setup configuration and logging
-	(config, configFiles) = getConfig(["ClusterManager"])
+	config = Config(["ClusterManager"])
+	configFiles = config.getFiles()
 	publisher = instantiateImplementation(config.get("ClusterManager", "publisher"), config)
 	tashi.publisher = publisher
 	logging.config.fileConfig(configFiles)



Mime
View raw message