[ARVADOS] updated: 9e3fd2fa437e2f3dab220a96fbe22ec5b250421d

Git user git at public.curoverse.com
Thu Apr 6 12:43:45 EDT 2017


Summary of changes:
 doc/Rakefile                   | 3 ++-
 sdk/python/arvados/__init__.py | 8 ++++----
 sdk/python/arvados/stream.py   | 2 +-
 3 files changed, 7 insertions(+), 6 deletions(-)

       via  9e3fd2fa437e2f3dab220a96fbe22ec5b250421d (commit)
      from  4a8883858028d4068b52710acd9c349108b6fc7c (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 9e3fd2fa437e2f3dab220a96fbe22ec5b250421d
Author: Tom Clegg <tom at curoverse.com>
Date:   Thu Apr 6 01:34:39 2017 -0400

    11308: Make imports epydoc-parseable.

diff --git a/doc/Rakefile b/doc/Rakefile
index 811ca67..ab5a2ea 100644
--- a/doc/Rakefile
+++ b/doc/Rakefile
@@ -15,7 +15,8 @@ end
 file "sdk/python/arvados/index.html" do |t|
   `which epydoc`
   if $? == 0
-    `epydoc --html --parse-only -o sdk/python/arvados ../sdk/python/arvados/`
+    STDERR.puts `epydoc --html --parse-only -o sdk/python/arvados ../sdk/python/arvados/ 2>&1`
+    raise if $? != 0
   else
     puts "Warning: epydoc not found, Python documentation will not be generated".colorize(:light_red)
   end
diff --git a/sdk/python/arvados/__init__.py b/sdk/python/arvados/__init__.py
index c018d56..b2873ec 100644
--- a/sdk/python/arvados/__init__.py
+++ b/sdk/python/arvados/__init__.py
@@ -29,12 +29,12 @@ else:
 
 from .api import api, api_from_config, http_cache
 from .collection import CollectionReader, CollectionWriter, ResumableCollectionWriter
-from .keep import *
-from .stream import *
+from arvados.keep import *
+from arvados.stream import *
 from .arvfile import StreamFileReader
 from .retry import RetryLoop
-from . import errors
-from . import util
+import arvados.errors as errors
+import arvados.util as util
 
 # Set up Arvados logging based on the user's configuration.
 # All Arvados code should log under the arvados hierarchy.
diff --git a/sdk/python/arvados/stream.py b/sdk/python/arvados/stream.py
index 1fe5d35..b68685e 100644
--- a/sdk/python/arvados/stream.py
+++ b/sdk/python/arvados/stream.py
@@ -12,7 +12,7 @@ import copy
 from ._ranges import locators_and_ranges, Range
 from .arvfile import StreamFileReader
 from arvados.retry import retry_method
-from .keep import *
+from arvados.keep import *
 from . import config
 from . import errors
 from ._normalize_stream import normalize_stream

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list