aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: