Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Maud Kerebel
scripts
Commits
2581ab79
Commit
2581ab79
authored
Jul 14, 2014
by
Pierre-Elliott Bécue
Browse files
[trigger/service/dhcp] .regen aussi a besoin de check_params
parent
1ba54efa
Changes
1
Hide whitespace changes
Inline
Side-by-side
gestion/trigger/services/dhcp.py
View file @
2581ab79
...
...
@@ -69,6 +69,8 @@ class Dhcp(BasicService):
"""Regenerates dhcp service taking body into account.
"""
cls
.
check_params
()
# http://satyajit.ranjeev.in/2012/01/12/python--dangerous-default-value-as-argument.html
# dict are referenced.
if
body
is
None
:
...
...
Write
Preview
Supports
Markdown
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