aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/wrap
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2016-11-28 21:26:58 -0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-12-01 20:40:24 +0100
commitf1366ba42565fcce648871aaa1d2b866af71ccb5 (patch)
treef855128be6d529a1156c5496a8720a1a7ec051fc /mesonbuild/wrap
parent1cb9d2bc0da7ec8c9f37ebd7c2f929ab7afa9e91 (diff)
downloadmeson-f1366ba42565fcce648871aaa1d2b866af71ccb5.zip
meson-f1366ba42565fcce648871aaa1d2b866af71ccb5.tar.gz
meson-f1366ba42565fcce648871aaa1d2b866af71ccb5.tar.bz2
wrap: Fix getting push-url
Diffstat (limited to 'mesonbuild/wrap')
-rw-r--r--mesonbuild/wrap/wrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/wrap/wrap.py b/mesonbuild/wrap/wrap.py
index 19ed39a..37d6df7 100644
--- a/mesonbuild/wrap/wrap.py
+++ b/mesonbuild/wrap/wrap.py
@@ -153,7 +153,7 @@ class Resolver:
if revno.lower() != 'head':
subprocess.check_call(['git', 'checkout', revno],
cwd=checkoutdir)
- push_url = p.get('push-url')
+ push_url = p.values.get('push-url')
if push_url:
subprocess.check_call(['git', 'remote', 'set-url',
'--push', 'origin', push_url],