kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpe...@apache.org
Subject [2/2] kudu git commit: push_to_asf.py: Use check_output() from kudu_util
Date Mon, 12 Dec 2016 13:06:57 GMT
push_to_asf.py: Use check_output() from kudu_util

This makes the script compatible with older versions of python again.

Change-Id: I75570c408f63bc5a0a4023e9d50b888c43eca16e
Reviewed-on: http://gerrit.cloudera.org:8080/5469
Reviewed-by: Jean-Daniel Cryans <jdcryans@apache.org>
Tested-by: Kudu Jenkins


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/ee4672bb
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/ee4672bb
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/ee4672bb

Branch: refs/heads/master
Commit: ee4672bbe0ec3544070d0bb48cd24ae9516be633
Parents: 305b8c9
Author: Mike Percy <mpercy@apache.org>
Authored: Sun Dec 11 08:35:23 2016 -0800
Committer: Mike Percy <mpercy@apache.org>
Committed: Mon Dec 12 12:46:04 2016 +0000

----------------------------------------------------------------------
 build-support/push_to_asf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/ee4672bb/build-support/push_to_asf.py
----------------------------------------------------------------------
diff --git a/build-support/push_to_asf.py b/build-support/push_to_asf.py
index b5216ba..f84a261 100755
--- a/build-support/push_to_asf.py
+++ b/build-support/push_to_asf.py
@@ -122,7 +122,7 @@ def rev_list(arg):
 
 def describe_commit(rev):
   """ Return a one-line description of a commit. """
-  return subprocess.check_output(
+  return check_output(
       ['git', 'log', '--color', '-n1', '--oneline', rev]).strip()
 
 


Mime
View raw message