[Checkins] SVN: zc.recipe.deployment/branches/jim-name/src/zc/recipe/deployment/README.txt add a test that a file named after the part is not also created
Fred Drake
cvs-admin at zope.org
Wed Apr 24 18:32:43 UTC 2013
Log message for revision 130201:
add a test that a file named after the part is not also created
Changed:
U zc.recipe.deployment/branches/jim-name/src/zc/recipe/deployment/README.txt
-=-
Modified: zc.recipe.deployment/branches/jim-name/src/zc/recipe/deployment/README.txt
===================================================================
--- zc.recipe.deployment/branches/jim-name/src/zc/recipe/deployment/README.txt 2013-04-24 18:20:09 UTC (rev 130200)
+++ zc.recipe.deployment/branches/jim-name/src/zc/recipe/deployment/README.txt 2013-04-24 18:32:42 UTC (rev 130201)
@@ -629,9 +629,14 @@
>>> cat(os.path.join(sample_buildout, 'etc/foo/y.cfg'))
this is y
+If name is given, only the file so named is created:
+
+ >>> ls(os.path.join(sample_buildout, 'etc', 'foo', 'x.cfg'))
+ Traceback (most recent call last):
+ OSError: [Errno 2] No such file or directory: 'PREFIX/etc/foo/x.cfg'
+
The name can be a path, or even absolute:
-
>>> write('buildout.cfg',
... '''
... [buildout]
More information about the checkins
mailing list