[Checkins]
SVN: zc.recipe.cmmi/branches/miles-download-cache/zc/recipe/cmmi/__init__.py
oops - required full path,
rather than destination directory and part name
Miles Waller
miles at jamkit.com
Mon Aug 6 11:01:29 EDT 2007
Log message for revision 78629:
oops - required full path, rather than destination directory and part name
Changed:
U zc.recipe.cmmi/branches/miles-download-cache/zc/recipe/cmmi/__init__.py
-=-
Modified: zc.recipe.cmmi/branches/miles-download-cache/zc/recipe/cmmi/__init__.py
===================================================================
--- zc.recipe.cmmi/branches/miles-download-cache/zc/recipe/cmmi/__init__.py 2007-08-06 15:00:38 UTC (rev 78628)
+++ zc.recipe.cmmi/branches/miles-download-cache/zc/recipe/cmmi/__init__.py 2007-08-06 15:01:28 UTC (rev 78629)
@@ -41,10 +41,8 @@
# are correctly set, and that the download_cache directory has
# been created: this is done by the main zc.buildout anyway
- if not options.has_key('location'):
- options['location'] = os.path.join(
- buildout['buildout']['parts-directory'],
- name)
+ location=options.get('location',buildout['buildout']['parts-directory'])
+ options['location'] = os.path.join(location, name)
options['prefix'] = options['location']
def install(self):
More information about the Checkins
mailing list