summaryrefslogtreecommitdiffstats
path: root/base/server/python
diff options
context:
space:
mode:
Diffstat (limited to 'base/server/python')
-rw-r--r--base/server/python/pki/server/deployment/pkihelper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/server/python/pki/server/deployment/pkihelper.py b/base/server/python/pki/server/deployment/pkihelper.py
index 54ffe27b7..6ac68b111 100644
--- a/base/server/python/pki/server/deployment/pkihelper.py
+++ b/base/server/python/pki/server/deployment/pkihelper.py
@@ -1810,8 +1810,8 @@ class File:
line[begin:end + 1], value,
extra=config.PKI_INDENTATION_LEVEL_3)
- # replace parameter with value
- line = line[0:begin] + value + line[end + 1]
+ # replace parameter with value, keep the rest of the line
+ line = line[0:begin] + value + line[end + 1:]
# calculate the new end position
end = begin + len(value) + 1