From 75bf7932691b2a9de6ac7f36328e4e252f054c61 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sun, 19 Mar 2017 18:56:33 +0100 Subject: posttag-push: Use named parameter for dry_run --- examples/gbp-posttag-push | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/gbp-posttag-push b/examples/gbp-posttag-push index ed7c792c..0b9335f6 100755 --- a/examples/gbp-posttag-push +++ b/examples/gbp-posttag-push @@ -168,20 +168,20 @@ def do_push(repo, dests, debian_tag, debian_sha1, upstream_tag, upstream_sha1, u verb = "Dry-run: Pushing" if dry_run else "Pushing" for dest in dests: gbp.log.info("%s %s to %s" % (verb, debian_tag, dest)) - repo.push_tag(dest, debian_tag, dry_run) + repo.push_tag(dest, debian_tag, dry_run=dry_run) gbp.log.info("%s %s to %s:%s" % (verb, debian_sha1, dest, dests[dest])) - repo.push(dest, debian_sha1, dests[dest], dry_run) + repo.push(dest, debian_sha1, dests[dest], dry_run=dry_run) if upstream_tag: gbp.log.info("%s %s to %s" % (verb, upstream_tag, dest)) - repo.push_tag(dest, upstream_tag, dry_run) + repo.push_tag(dest, upstream_tag, dry_run=dry_run) if not repo.branch_contains("%s/%s" % (dest, upstream_branch), upstream_sha1, remote=True): gbp.log.info("%s %s to %s:%s" % (verb, upstream_sha1, dest, upstream_branch)) - repo.push(dest, upstream_sha1, upstream_branch, dry_run) + repo.push(dest, upstream_sha1, upstream_branch, dry_run=dry_run) if pristine_tar_sha1: branch = repo.pristine_tar.branch gbp.log.info("%s %s to %s:%s" % (verb, pristine_tar_sha1, dest, branch)) - repo.push(dest, pristine_tar_sha1, branch, dry_run) + repo.push(dest, pristine_tar_sha1, branch, dry_run=dry_run) def main(argv): -- cgit v1.2.3