diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-10-24 09:47:23 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-10-24 09:57:30 +0200 |
commit | bf397fc879753a3bfe5925ad9f60fcb36577d818 (patch) | |
tree | 2de1426f064caeeedab374978aff0cbaf4513de2 | |
parent | 3a3539a6ef70796c08564fefabe1f5d467fa64d9 (diff) | |
download | git-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-x | gbp-pq | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |