thomasvs - in flumotion/trunk: . flumotion/service

flumotion-commit at lists.fluendo.com flumotion-commit at lists.fluendo.com
Thu Mar 8 23:55:10 CET 2007


Author: thomasvs
Date: Thu Mar  8 23:55:01 2007
New Revision: 4611

Modified:
   flumotion/trunk/ChangeLog
   flumotion/trunk/flumotion/service/service.py
Log:
	* flumotion/service/service.py:
	  Make sure the workers directory exists.



Modified: flumotion/trunk/ChangeLog
==============================================================================
--- flumotion/trunk/ChangeLog	(original)
+++ flumotion/trunk/ChangeLog	Thu Mar  8 23:55:01 2007
@@ -1,5 +1,10 @@
 2007-03-08  Thomas Vander Stichele  <thomas at apestaart dot org>
 
+	* flumotion/service/service.py:
+	  Make sure the workers directory exists.
+
+2007-03-08  Thomas Vander Stichele  <thomas at apestaart dot org>
+
 	* flumotion/worker/checks/check.py:
 	  Fix pychecker error.
 

Modified: flumotion/trunk/flumotion/service/service.py
==============================================================================
--- flumotion/trunk/flumotion/service/service.py	(original)
+++ flumotion/trunk/flumotion/service/service.py	Thu Mar  8 23:55:01 2007
@@ -301,6 +301,7 @@
 
         @returns: whether or not the config was created.
         """
+        os.makedirs(self.workersDir)
         self.info("Creating worker %s" % name)
         workerFile = os.path.join(self.workersDir, "%s.xml" % name)
         if os.path.exists(workerFile):


More information about the flumotion-commit mailing list