From 63411b702bc5b754f719af78af654e2fe5531f54 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sat, 18 Feb 2012 16:15:51 +0100 Subject: gbp-pq: Properly print patch name when guessing authorship information --- gbp/scripts/pq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gbp') diff --git a/gbp/scripts/pq.py b/gbp/scripts/pq.py index 9193f2b6..7fa57cf9 100644 --- a/gbp/scripts/pq.py +++ b/gbp/scripts/pq.py @@ -286,7 +286,7 @@ def apply_and_commit_patch(repo, patch, topic=None): name, email = get_maintainer_from_control() if name: gbp.log.warn("Patch '%s' has no authorship information, " - "using '%s <%s>'" % (patch, name, email)) + "using '%s <%s>'" % (patch.path, name, email)) author['name'] = name author['email'] = email else: -- cgit v1.2.3