[ARVADOS] updated: 1.1.3-266-g9dc5605

Git user git at public.curoverse.com
Fri Mar 23 17:50:40 EDT 2018


Summary of changes:
 sdk/python/arvados_version.py | 2 +-
 sdk/python/setup.py           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

       via  9dc5605ae1ced0ee924c4572e723fa8e9a3ff803 (commit)
      from  d1a11420bd56432052d7813bb734a9d4a607413e (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 9dc5605ae1ced0ee924c4572e723fa8e9a3ff803
Author: Javier Bértoli <jbertoli at veritasgenetics.com>
Date:   Fri Mar 23 18:50:23 2018 -0300

    Trying some str formatting
    
    refs #13200
    Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli at veritasgenetics.com>

diff --git a/sdk/python/arvados_version.py b/sdk/python/arvados_version.py
index 1d55981..db46417 100644
--- a/sdk/python/arvados_version.py
+++ b/sdk/python/arvados_version.py
@@ -11,7 +11,7 @@ class VersionInfoFromGit():
     def git_latest_tag(self):
         gitinfo = subprocess.check_output(
             ['git', 'describe', '--abbrev=0']).strip()
-        return str(gitinfo)
+        return str(gitinfo.decode('utf-8'))
 
     def git_timestamp_tag(self):
         gitinfo = subprocess.check_output(
diff --git a/sdk/python/setup.py b/sdk/python/setup.py
index 1695159..1adc19f 100644
--- a/sdk/python/setup.py
+++ b/sdk/python/setup.py
@@ -18,7 +18,7 @@ if not version:
     try:
         import arvados_version
         vtag = arvados_version.VersionInfoFromGit()
-        version = str(vtag.git_latest_tag() + vtag.git_timestamp_tag())
+        version = vtag.git_latest_tag() + vtag.git_timestamp_tag()
     except ImportError:
         pass
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list