[Checkins] SVN: z3c.recipe.filetemplate/trunk/ Fix handling of the template path check under windows.
Ross Patterson
me at rpatterson.net
Thu Nov 10 19:28:50 UTC 2011
Log message for revision 123325:
Fix handling of the template path check under windows.
Changed:
U z3c.recipe.filetemplate/trunk/CHANGES.txt
U z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/__init__.py
-=-
Modified: z3c.recipe.filetemplate/trunk/CHANGES.txt
===================================================================
--- z3c.recipe.filetemplate/trunk/CHANGES.txt 2011-11-09 12:07:06 UTC (rev 123324)
+++ z3c.recipe.filetemplate/trunk/CHANGES.txt 2011-11-10 19:28:49 UTC (rev 123325)
@@ -15,7 +15,7 @@
Fixes
-----
-(none)
+- Fix handling of the template path check under windows. [rossp]
2.2.0 (2011-09-01)
==================
Modified: z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/__init__.py
===================================================================
--- z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/__init__.py 2011-11-09 12:07:06 UTC (rev 123324)
+++ z3c.recipe.filetemplate/trunk/z3c/recipe/filetemplate/__init__.py 2011-11-10 19:28:49 UTC (rev 123325)
@@ -93,7 +93,8 @@
else:
self.recursive = False
self.options['source-directory'] = ''
- self.source_dir = self.buildout['buildout']['directory']
+ self.source_dir = zc.buildout.easy_install.realpath(
+ os.path.normpath(self.buildout['buildout']['directory']))
source_patterns = []
for filename in self.filenames:
if os.path.isabs(filename):
More information about the checkins
mailing list