aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-12-24 01:52:58 +0100
committerGuido Günther <agx@sigxcpu.org>2016-12-24 01:55:24 +0100
commit4c0cda98e98098f40d18729b275eff3d8c668d11 (patch)
tree4ce9e2f3f46a551170b5abae040d468ec6e7fc59
parente31f15bf50d956267182512d6c5febb26812ad1a (diff)
gbp-posttag-push: Fix logging calls
leftovers from using print Gbp-Dch: Ignore
-rwxr-xr-xexamples/gbp-posttag-push4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/gbp-posttag-push b/examples/gbp-posttag-push
index 8e9c4e3..3aca7bf 100755
--- a/examples/gbp-posttag-push
+++ b/examples/gbp-posttag-push
@@ -164,7 +164,7 @@ def main(argv):
if var:
env.__dict__.setdefault("%s" % envvar.split("_")[1].lower(), var)
else:
- gbp.log.err("%s not set." % envvar, file=sys.stderr)
+ gbp.log.err("%s not set." % envvar)
return 1
dests = get_push_targets(env)
@@ -176,7 +176,7 @@ def main(argv):
upstream_sha1 = repo.rev_parse("%s^{}" % upstream_tag)
if not repo.verify_tag(env.tag):
- gbp.log.info("Not pushing non-existent or unsigned tag '%s'." % env.tag, file=sys.stderr)
+ gbp.log.info("Not pushing non-existent or unsigned tag '%s'." % env.tag)
return 0
source = DebianSource(GitVfs(repo, env.tag))