[Checkins] SVN: zc.buildout/trunk/src/zc/buildout/download.py updated the docstring of the download utility

Thomas Lotze tl at gocept.com
Wed Feb 16 10:24:31 EST 2011


Log message for revision 120383:
  updated the docstring of the download utility

Changed:
  U   zc.buildout/trunk/src/zc/buildout/download.py

-=-
Modified: zc.buildout/trunk/src/zc/buildout/download.py
===================================================================
--- zc.buildout/trunk/src/zc/buildout/download.py	2011-02-16 14:47:57 UTC (rev 120382)
+++ zc.buildout/trunk/src/zc/buildout/download.py	2011-02-16 15:24:31 UTC (rev 120383)
@@ -45,11 +45,14 @@
 
     Handles the download cache and offline mode.
 
-    Download(options=None, cache=None, namespace=None, hash_name=False)
+    Download(options=None, cache=None, namespace=None,
+             offline=False, fallback=False, hash_name=False, logger=None)
 
     options: mapping of buildout options (e.g. a ``buildout`` config section)
     cache: path to the download cache (excluding namespaces)
     namespace: namespace directory to use inside the cache
+    offline: whether to operate in offline mode
+    fallback: whether to use the cache as a fallback (try downloading first)
     hash_name: whether to use a hash of the URL as cache file name
     logger: an optional logger to receive download-related log messages
 



More information about the checkins mailing list