[Checkins] SVN: z3c.recipe.filetemplate/trunk/ fix an error message.
Gary Poster
gary at modernsongs.com
Thu Apr 30 18:54:09 EDT 2009
Log message for revision 99631:
fix an error message.
Changed:
U z3c.recipe.filetemplate/trunk/CHANGES.txt
U z3c.recipe.filetemplate/trunk/setup.py
U z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/__init__.py
U z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/tests.txt
-=-
Modified: z3c.recipe.filetemplate/trunk/CHANGES.txt
===================================================================
--- z3c.recipe.filetemplate/trunk/CHANGES.txt 2009-04-30 22:44:04 UTC (rev 99630)
+++ z3c.recipe.filetemplate/trunk/CHANGES.txt 2009-04-30 22:54:08 UTC (rev 99631)
@@ -2,9 +2,6 @@
Changes
=======
-2.1 (unreleased)
-================
-
2.0.1 (2009-04-30)
==================
@@ -16,6 +13,9 @@
- Doc formatting fixes.
+- Correct "Destinations already exist" message to list destinations without
+ ``.in`` suffix.
+
2.0 (2009-04-30)
================
Modified: z3c.recipe.filetemplate/trunk/setup.py
===================================================================
--- z3c.recipe.filetemplate/trunk/setup.py 2009-04-30 22:44:04 UTC (rev 99630)
+++ z3c.recipe.filetemplate/trunk/setup.py 2009-04-30 22:54:08 UTC (rev 99631)
@@ -19,7 +19,7 @@
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(name='z3c.recipe.filetemplate',
- version = '2.1dev',
+ version = '2.0.1',
license='ZPL 2.1',
url='http://pypi.python.org/pypi/z3c.recipe.filetemplate',
description="zc.buildout recipe for creating files from file templates",
Modified: z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/__init__.py
===================================================================
--- z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/__init__.py 2009-04-30 22:44:04 UTC (rev 99630)
+++ z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/__init__.py 2009-04-30 22:54:08 UTC (rev 99631)
@@ -186,7 +186,7 @@
def install(self):
already_exists = [
- rel_path for rel_path, last_mod, st_mode in self.actions
+ rel_path[:-3] for rel_path, last_mod, st_mode in self.actions
if os.path.exists(
os.path.join(self.destination_dir, rel_path[:-3]))
]
Modified: z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/tests.txt
===================================================================
--- z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/tests.txt 2009-04-30 22:44:04 UTC (rev 99630)
+++ z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/tests.txt 2009-04-30 22:54:08 UTC (rev 99631)
@@ -118,12 +118,12 @@
>>> print system(buildout)
Uninstalling multiple.
Installing alreadythere.
- alreadythere: Destinations already exist: alreadyhere.txt.in. Please make
+ alreadythere: Destinations already exist: alreadyhere.txt. Please make
sure that you really want to generate these automatically.
Then move them away.
While:
Installing alreadythere.
- Error: Destinations already exist: alreadyhere.txt.in. Please make sure
+ Error: Destinations already exist: alreadyhere.txt. Please make sure
that you really want to generate these automatically. Then move
them away.
More information about the Checkins
mailing list