[ARVADOS] updated: 53381c90fd5ef26d3a0cc08c8d35318b0b92557a

git at public.curoverse.com git at public.curoverse.com
Wed Nov 12 12:08:15 EST 2014


Summary of changes:
 sdk/python/arvados/util.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  53381c90fd5ef26d3a0cc08c8d35318b0b92557a (commit)
      from  a844af57de33b0094ce23c873d044f15de1ed138 (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 53381c90fd5ef26d3a0cc08c8d35318b0b92557a
Author: Brett Smith <brett at curoverse.com>
Date:   Wed Nov 12 12:08:13 2014 -0500

    Bugfix bad exception name in PySDK util.is_hex.
    
    No issue #.

diff --git a/sdk/python/arvados/util.py b/sdk/python/arvados/util.py
index a474a94..79692ae 100644
--- a/sdk/python/arvados/util.py
+++ b/sdk/python/arvados/util.py
@@ -349,8 +349,8 @@ def is_hex(s, *length_args):
     """
     num_length_args = len(length_args)
     if num_length_args > 2:
-        raise ArgumentError("is_hex accepts up to 3 arguments ({} given)".
-                            format(1 + num_length_args))
+        raise errors.ArgumentError("is_hex accepts up to 3 arguments ({} given)"
+                                   .format(1 + num_length_args))
     elif num_length_args == 2:
         good_len = (length_args[0] <= len(s) <= length_args[1])
     elif num_length_args == 1:

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list