wrap: Fix getting push-url

pull/1125/head
Thibault Saunier 8 years ago committed by Jussi Pakkanen
parent 1cb9d2bc0d
commit f1366ba425
  1. 2
      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],

Loading…
Cancel
Save