You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@madlib.apache.org by ri...@apache.org on 2016/10/18 00:32:23 UTC

incubator-madlib git commit: Build: Fix madpack revision parsing

Repository: incubator-madlib
Updated Branches:
  refs/heads/patch/v1.9.1_madpack [created] 74885f84f


Build: Fix madpack revision parsing


Project: http://git-wip-us.apache.org/repos/asf/incubator-madlib/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-madlib/commit/74885f84
Tree: http://git-wip-us.apache.org/repos/asf/incubator-madlib/tree/74885f84
Diff: http://git-wip-us.apache.org/repos/asf/incubator-madlib/diff/74885f84

Branch: refs/heads/patch/v1.9.1_madpack
Commit: 74885f84f6aa72a65769e72b44e3d7c86f9bd283
Parents: e1c99c1
Author: Rahul Iyer <ri...@apache.org>
Authored: Mon Oct 17 17:28:51 2016 -0700
Committer: Rahul Iyer <ri...@apache.org>
Committed: Mon Oct 17 17:28:51 2016 -0700

----------------------------------------------------------------------
 src/madpack/madpack.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-madlib/blob/74885f84/src/madpack/madpack.py
----------------------------------------------------------------------
diff --git a/src/madpack/madpack.py b/src/madpack/madpack.py
index b8db427..8d31331 100755
--- a/src/madpack/madpack.py
+++ b/src/madpack/madpack.py
@@ -357,7 +357,7 @@ def _get_rev_num(rev):
         @param rev version text
     """
     try:
-        num = re.findall('[0-9]', rev)
+        num = tuple(int(i) for i in rev.split('.'))
         if num:
             return num
         else: