summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-10-24 09:47:23 +0200
committerGuido Günther <agx@sigxcpu.org>2011-10-24 09:57:30 +0200
commitbf397fc879753a3bfe5925ad9f60fcb36577d818 (patch)
tree2de1426f064caeeedab374978aff0cbaf4513de2
parent3a3539a6ef70796c08564fefabe1f5d467fa64d9 (diff)
downloadgit-buildpackage-bf397fc879753a3bfe5925ad9f60fcb36577d818.tar.gz
git-buildpackage-bf397fc879753a3bfe5925ad9f60fcb36577d818.tar.bz2
git-buildpackage-bf397fc879753a3bfe5925ad9f60fcb36577d818.zip
gbp-pq: Properly check for start of signature
Closes: #646400
-rwxr-xr-xgbp-pq4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp-pq b/gbp-pq
index 1b9a212c..3c22df9a 100755
--- a/gbp-pq
+++ b/gbp-pq
@@ -84,11 +84,11 @@ def write_patch(patch, options):
in_patch = False
topic = None
- # Skip first line (from <sha1>)
+ # Skip first line (From <sha1>)
old.readline()
for line in old:
if in_patch:
- if line.startswith('-- '):
+ if line == '-- \n':
# Found final signature, we're done:
tmp.write(line)
break