Commit: b9338dde5ac071ff9d1243d2a3178ba8b53e575b
Author: gandalf3
Date:   Mon Aug 28 22:54:39 2017 -0700
Branches: soc-2017-package_manager
https://developer.blender.org/rBb9338dde5ac071ff9d1243d2a3178ba8b53e575b

Improve docstring

===================================================================

M       release/scripts/modules/bpkg/actions.py

===================================================================

diff --git a/release/scripts/modules/bpkg/actions.py 
b/release/scripts/modules/bpkg/actions.py
index 15ad2b6fdc1..2d0e88d4a45 100644
--- a/release/scripts/modules/bpkg/actions.py
+++ b/release/scripts/modules/bpkg/actions.py
@@ -7,8 +7,9 @@ import logging
 def download(url: str, destination: Path, progress_callback=None) -> Path:
     """
     Downloads file at the given url, and if progress_callback is specified,
-    repeatedly calls progress_callback with an argument between 0 and 1, or 
infinity.
-    Raises DownloadException if an error occurs with the download.
+    repeatedly calls progress_callback with an argument between 0 and 1, or
+    infinity if progress cannot be determined.  Raises DownloadException if an
+    error occurs with the download.
 
     :returns: path to the downloaded file, or None if not modified
     """

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to