diff options
author | Andrea Bolognani <abologna@redhat.com> | 2020-04-30 21:23:23 +0200 |
---|---|---|
committer | Andrea Bolognani <abologna@redhat.com> | 2020-05-01 11:25:15 +0200 |
commit | 6f720b22f4b504a59fc38b1e970cfa88e2d48e2f (patch) | |
tree | 132880bd3da56cb0f410ee41bb7b49c7c5139c77 /containers | |
parent | da0025e55d758ac35f3e3cf4d81e3238e15ef149 (diff) | |
download | libvirt-ci-6f720b22f4b504a59fc38b1e970cfa88e2d48e2f.zip libvirt-ci-6f720b22f4b504a59fc38b1e970cfa88e2d48e2f.tar.gz libvirt-ci-6f720b22f4b504a59fc38b1e970cfa88e2d48e2f.tar.bz2 |
check-dco: Change remote name
Make it match the name of the script.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'containers')
-rwxr-xr-x | containers/check-dco/check-dco.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/containers/check-dco/check-dco.py b/containers/check-dco/check-dco.py index 643e7f3..79cfadc 100755 --- a/containers/check-dco/check-dco.py +++ b/containers/check-dco/check-dco.py @@ -27,17 +27,17 @@ cwd = os.getcwd() reponame = os.path.basename(cwd) repourl = "https://gitlab.com/libvirt/%s.git" % reponame -subprocess.check_call(["git", "remote", "add", "dcocheck", repourl]) -subprocess.check_call(["git", "fetch", "dcocheck", "master"], +subprocess.check_call(["git", "remote", "add", "check-dco", repourl]) +subprocess.check_call(["git", "fetch", "check-dco", "master"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) -ancestor = subprocess.check_output(["git", "merge-base", "dcocheck/master", "HEAD"], +ancestor = subprocess.check_output(["git", "merge-base", "check-dco/master", "HEAD"], universal_newlines=True) ancestor = ancestor.strip() -subprocess.check_call(["git", "remote", "rm", "dcocheck"]) +subprocess.check_call(["git", "remote", "rm", "check-dco"]) errors = False |