summaryrefslogtreecommitdiffstats
path: root/data/DTSA/dtsa
diff options
context:
space:
mode:
authorJoey Hess <joeyh@debian.org>2005-09-15 15:15:46 +0000
committerJoey Hess <joeyh@debian.org>2005-09-15 15:15:46 +0000
commit488107c7f55585c853e057363d31b8fcbe93e1ca (patch)
tree0575138f9e49ca51c92b4b8f5053a18eedd44277 /data/DTSA/dtsa
parent36f3da221152ae4ae355a377d5201614a77a4834 (diff)
preserve indentation in (text form) of DTSA
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@2003 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'data/DTSA/dtsa')
-rwxr-xr-xdata/DTSA/dtsa3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/DTSA/dtsa b/data/DTSA/dtsa
index 42078f9d5a..ebcc66bc84 100755
--- a/data/DTSA/dtsa
+++ b/data/DTSA/dtsa
@@ -69,7 +69,8 @@ def process_dtsa(id, sid):
elif i.startswith("upgrade:"):
upgrade = i[8:].strip()
elif d:
- descr.append(i.strip())
+ if i[-1] == '\n': i = i[:-1]
+ descr.append(i)
elif i == "\n" and d == False:
d = True

© 2014-2024 Faster IT GmbH | imprint | privacy policy