Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Adrien Dorsaz
acme-dns-tiny
Commits
a872cd75
Commit
a872cd75
authored
Jun 01, 2020
by
Adrien Dorsaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config_factory: check key is in directory before trying to delete it
parent
96e2ab22
Pipeline
#265
failed with stages
in 6 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/config_factory.py
tests/config_factory.py
+1
-1
No files found.
tests/config_factory.py
View file @
a872cd75
...
...
@@ -38,7 +38,7 @@ def generate_config():
parser
[
"acmednstiny"
][
"ACMEDirectory"
]
=
ACMEDIRECTORY
if
CONTACT
:
parser
[
"acmednstiny"
][
"Contacts"
]
=
"mailto:{0}"
.
format
(
CONTACT
)
else
:
el
if
"Contacts"
in
par
se
r
:
del
parser
[
"acmednstiny"
][
"Contacts"
]
parser
[
"TSIGKeyring"
][
"KeyName"
]
=
TSIGKEYNAME
parser
[
"TSIGKeyring"
][
"KeyValue"
]
=
TSIGKEYVALUE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment