[Checkins] SVN: z3c.recipe.eggbasket/trunk/ Fix: look for download-cache instead of download-directory.

Maurits van Rees m.van.rees at zestsoftware.nl
Tue Jan 20 09:58:30 EST 2009


Log message for revision 94877:
  Fix: look for download-cache instead of download-directory.

Changed:
  U   z3c.recipe.eggbasket/trunk/CHANGES.txt
  U   z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/downloader.py

-=-
Modified: z3c.recipe.eggbasket/trunk/CHANGES.txt
===================================================================
--- z3c.recipe.eggbasket/trunk/CHANGES.txt	2009-01-20 09:14:29 UTC (rev 94876)
+++ z3c.recipe.eggbasket/trunk/CHANGES.txt	2009-01-20 14:58:29 UTC (rev 94877)
@@ -6,7 +6,7 @@
 0.4.2 (unreleased)
 ==================
 
-* When the download-directory has been set in buildout.cfg or in
+* When the download-cache has been set in buildout.cfg or in
   .buildout/default.cfg in the user's home directory, download the
   tarball there and do not throw it away afterwards.
 

Modified: z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/downloader.py
===================================================================
--- z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/downloader.py	2009-01-20 09:14:29 UTC (rev 94876)
+++ z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/downloader.py	2009-01-20 14:58:29 UTC (rev 94877)
@@ -40,7 +40,7 @@
             # If the user has specified a download directory (in
             # ~/.buildout/default.cfg probably) we will want to use
             # it.
-            download_dir = self.buildout['buildout'].get('download-directory')
+            download_dir = self.buildout['buildout'].get('download-cache')
             if download_dir:
                 if not os.path.exists(download_dir):
                     os.mkdir(download_dir)



More information about the Checkins mailing list