[Checkins] SVN: z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/ Get rid of an annoying error message.

Philipp von Weitershausen philikon at philikon.de
Sun Jul 13 11:36:15 EDT 2008


Log message for revision 88323:
  Get rid of an annoying error message.
  

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

-=-
Modified: z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/README.txt
===================================================================
--- z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/README.txt	2008-07-13 15:34:56 UTC (rev 88322)
+++ z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/README.txt	2008-07-13 15:36:14 UTC (rev 88323)
@@ -138,7 +138,6 @@
     restarting.
     Generated script '/sample-buildout/bin/buildout'.
     Installing basket.
-    Unused options for basket: 'url'.
     <BLANKLINE>
 
 Next we will specify an egg but refer to a bad url::

Modified: z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/downloader.py
===================================================================
--- z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/downloader.py	2008-07-13 15:34:56 UTC (rev 88322)
+++ z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/downloader.py	2008-07-13 15:36:14 UTC (rev 88323)
@@ -29,11 +29,12 @@
             for r in options.get('eggs', self.name).split('\n')
             if r.strip()]
 
+        url = self.options.get('url')
+
         if not distributions_are_installed_in_dir(distributions,
                                                   options['eggs-directory']):
             log.info("Distributions are not installed. "
                      "A tarball will be downloaded.")
-            url = self.options.get('url')
             tarball_name = url.split('/')[-1]
             log.info("Downloading %s ..." % url)
 



More information about the Checkins mailing list