[Checkins] SVN: z3c.recipe.mkdir/trunk/z3c/recipe/mkdir/__init__.py Update options after processing.

Uli Fouquet uli at gnufix.de
Fri Aug 21 06:14:30 EDT 2009


Log message for revision 103024:
  Update options after processing.
  

Changed:
  U   z3c.recipe.mkdir/trunk/z3c/recipe/mkdir/__init__.py

-=-
Modified: z3c.recipe.mkdir/trunk/z3c/recipe/mkdir/__init__.py
===================================================================
--- z3c.recipe.mkdir/trunk/z3c/recipe/mkdir/__init__.py	2009-08-21 08:53:21 UTC (rev 103023)
+++ z3c.recipe.mkdir/trunk/z3c/recipe/mkdir/__init__.py	2009-08-21 10:14:29 UTC (rev 103024)
@@ -28,6 +28,11 @@
         paths = [os.path.normpath(x) for x in paths]
         self.paths = paths
 
+        # Update options to be referencable...
+        paths_strings = '\n'.join(paths)
+        options['path'] = paths_strings
+        options['paths'] = paths_strings
+
     def install(self):
         for path in self.paths:
             self.createIntermediatePaths(path)



More information about the Checkins mailing list