[ARVADOS] updated: 1.1.0-75-g02504f7
Git user
git at public.curoverse.com
Tue Oct 17 13:36:54 EDT 2017
Summary of changes:
sdk/cwl/setup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 02504f7845ec6346d578c7c290c167d84d7bcd07 (commit)
from 995763189c219b6cd2885d0c4eeac3ea39e16664 (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 02504f7845ec6346d578c7c290c167d84d7bcd07
Author: Fernando Monserrat <fernando.monserrat at gmail.com>
Date: Tue Oct 17 14:36:41 2017 -0300
12389: fix error with string on _version_ for cwl
Arvados-DCO-1.1-Signed-off-by: Fernando Monserrat <fmonserrat at veritasgenetics.com>
diff --git a/sdk/cwl/setup.py b/sdk/cwl/setup.py
index 14e87b6..ae01628 100644
--- a/sdk/cwl/setup.py
+++ b/sdk/cwl/setup.py
@@ -22,9 +22,9 @@ except ImportError:
versionfile = os.path.join(SETUP_DIR, "arvados_cwl/_version.py")
try:
gitinfo = subprocess.check_output(
- ['git', 'describe', '--abbrev=0'])
+ ['git', 'describe', '--abbrev=0']).strip()
with open(versionfile, "w") as f:
- f.write("__version__ = '%s'\n" % gitinfo.strip())
+ f.write("__version__ = '%s'\n" % gitinfo)
except Exception as e:
# When installing from package, it won't be part of a git repository, and
# check_output() will raise an exception. But the package should include the
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list