aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-02-18 16:15:51 +0100
committerGuido Günther <agx@sigxcpu.org>2012-02-18 16:15:51 +0100
commit63411b702bc5b754f719af78af654e2fe5531f54 (patch)
tree1948e0b35d1d2758ee1c8bac4600fc5fc2b4e61e
parent7e416261e4e33d868645de8a669e69a606d20551 (diff)
gbp-pq: Properly print patch name
when guessing authorship information
-rw-r--r--gbp/scripts/pq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/pq.py b/gbp/scripts/pq.py
index 9193f2b..7fa57cf 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: