[ARVADOS] updated: 256068ede1b17e74288d645d3c23fea494036f47

git at public.curoverse.com git at public.curoverse.com
Tue Mar 3 09:30:31 EST 2015

Summary of changes:
 sdk/python/arvados/_ranges.py | 4 ++--
 sdk/python/arvados/errors.py  | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

       via  256068ede1b17e74288d645d3c23fea494036f47 (commit)
      from  c691e44f9183176581dd8da6417af16772baf510 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

commit 256068ede1b17e74288d645d3c23fea494036f47
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Tue Mar 3 09:34:05 2015 -0500

    4823: Docstring and comment fixes.

diff --git a/sdk/python/arvados/_ranges.py b/sdk/python/arvados/_ranges.py
index ba92f93..947b35f 100644
--- a/sdk/python/arvados/_ranges.py
+++ b/sdk/python/arvados/_ranges.py
@@ -32,7 +32,7 @@ def first_block(data_locators, range_start, range_size):
     block_end = block_start + block_size
     # perform a binary search for the first block
-    # assumes that all of the blocks are contigious, so range_start is guaranteed
+    # assumes that all of the blocks are contiguous, so range_start is guaranteed
     # to either fall into the range of a block or be outside the block range entirely
     while not (range_start >= block_start and range_start < block_end):
         if lo == i:
@@ -125,7 +125,7 @@ def replace_range(data_locators, new_range_start, new_range_size, new_locator, n
     data_locators will be updated in place
-      list of Range objects, assumes that segments are in order and contigous
+      list of Range objects, assumes that segments are in order and contiguous
       start of range to replace in data_locators
diff --git a/sdk/python/arvados/errors.py b/sdk/python/arvados/errors.py
index ab4609f..3629520 100644
--- a/sdk/python/arvados/errors.py
+++ b/sdk/python/arvados/errors.py
@@ -30,6 +30,9 @@ class KeepRequestError(Exception):
           These will be packed into an OrderedDict, available through the
           request_errors() method.
+        :label:
+          A label indicating the type of value in the 'key' position of request_errors.
         self.label = label
         self._request_errors = OrderedDict(request_errors)



More information about the arvados-commits mailing list