[Checkins] SVN: z3c.recipe.paster/trunk/src/z3c/recipe/paster/ fix tests for buildout 1.6 series

Adam Groszer cvs-admin at zope.org
Thu Aug 30 18:36:47 UTC 2012


Log message for revision 127652:
  fix tests for buildout 1.6 series

Changed:
  U   z3c.recipe.paster/trunk/src/z3c/recipe/paster/README.txt
  U   z3c.recipe.paster/trunk/src/z3c/recipe/paster/debug.txt
  U   z3c.recipe.paster/trunk/src/z3c/recipe/paster/paster.txt

-=-
Modified: z3c.recipe.paster/trunk/src/z3c/recipe/paster/README.txt
===================================================================
--- z3c.recipe.paster/trunk/src/z3c/recipe/paster/README.txt	2012-08-30 16:03:51 UTC (rev 127651)
+++ z3c.recipe.paster/trunk/src/z3c/recipe/paster/README.txt	2012-08-30 18:36:43 UTC (rev 127652)
@@ -128,9 +128,9 @@
   import paste.script.command
   <BLANKLINE>
   if __name__ == '__main__':
-      paste.script.command.run([
-    'serve', '...myapp.ini',
-    ]+sys.argv[1:])
+      sys.exit(paste.script.command.run([
+    'serve', '/sample-buildout/parts/myapp/myapp.ini',
+    ]+sys.argv[1:]))
 
 Those ``sample-pyN.N.egg`` lines should be PasteScript and it's dependencies.
 

Modified: z3c.recipe.paster/trunk/src/z3c/recipe/paster/debug.txt
===================================================================
--- z3c.recipe.paster/trunk/src/z3c/recipe/paster/debug.txt	2012-08-30 16:03:51 UTC (rev 127651)
+++ z3c.recipe.paster/trunk/src/z3c/recipe/paster/debug.txt	2012-08-30 18:36:43 UTC (rev 127652)
@@ -122,4 +122,4 @@
   import z3c.recipe.paster.debug
   <BLANKLINE>
   if __name__ == '__main__':
-      z3c.recipe.paster.debug.main('/sample-buildout/parts/myapp/zope.conf')
+      sys.exit(z3c.recipe.paster.debug.main('/sample-buildout/parts/myapp/zope.conf'))

Modified: z3c.recipe.paster/trunk/src/z3c/recipe/paster/paster.txt
===================================================================
--- z3c.recipe.paster/trunk/src/z3c/recipe/paster/paster.txt	2012-08-30 16:03:51 UTC (rev 127651)
+++ z3c.recipe.paster/trunk/src/z3c/recipe/paster/paster.txt	2012-08-30 18:36:43 UTC (rev 127652)
@@ -102,4 +102,4 @@
   import paste.script.command
   <BLANKLINE>
   if __name__ == '__main__':
-      paste.script.command.run()
+      sys.exit(paste.script.command.run())



More information about the checkins mailing list