[Checkins] SVN: zc.metarecipe/trunk/src/zc/metarecipe/ Return the part asked for, so that it can be set as well.

satchit@zope.com cvs-admin at zope.org
Thu Aug 23 18:26:10 UTC 2012


Log message for revision 127560:
  Return the part asked for, so that it can be set as well.
  
  - Update order of parts (not sure if the related failure was platform related)
  
  

Changed:
  U   zc.metarecipe/trunk/src/zc/metarecipe/README.txt
  U   zc.metarecipe/trunk/src/zc/metarecipe/testing.py

-=-
Modified: zc.metarecipe/trunk/src/zc/metarecipe/README.txt
===================================================================
--- zc.metarecipe/trunk/src/zc/metarecipe/README.txt	2012-08-23 14:36:36 UTC (rev 127559)
+++ zc.metarecipe/trunk/src/zc/metarecipe/README.txt	2012-08-23 18:26:05 UTC (rev 127560)
@@ -203,16 +203,16 @@
                           path ${:path}
                         </filestorage>
                       </zlibstorage>
+    [pack]
+    command = ${buildout:bin-directory}/zeopack -d3 -t00 ${main:address}
+    deployment = deployment
+    recipe = zc.recipe.deployment:crontab
+    times = 1 2 * * 6
     [ctl]
     chkconfig = 345 99 10
     deployment = deployment
     parts = main
     recipe = zc.recipe.rhrc
-    [pack]
-    command = ${buildout:bin-directory}/zeopack -d3 -t00 ${main:address}
-    deployment = deployment
-    recipe = zc.recipe.deployment:crontab
-    times = 1 2 * * 6
 
 When we call our recipe, it will add sections to the test buildout and
 these are simply printed as added, so we can verify that the correct

Modified: zc.metarecipe/trunk/src/zc/metarecipe/testing.py
===================================================================
--- zc.metarecipe/trunk/src/zc/metarecipe/testing.py	2012-08-23 14:36:36 UTC (rev 127559)
+++ zc.metarecipe/trunk/src/zc/metarecipe/testing.py	2012-08-23 18:26:05 UTC (rev 127560)
@@ -9,3 +9,4 @@
         print "[%s]" % name
         for k, v in sorted(self._raw[name].items()):
             print "%s = %s" % (k, v.replace("\n", "\n  ").strip())
+        return self._raw[name]



More information about the checkins mailing list