mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
minor fix for https://github.com/opnsense/core/pull/4763, mutable default argument (https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments)
This commit is contained in:
parent
2662400068
commit
aa6c44e767
@ -41,7 +41,7 @@ from daemonize import Daemonize
|
||||
import watchers.dhcpd
|
||||
|
||||
|
||||
def unbound_control(commands, input=list(), output_stream=None):
|
||||
def unbound_control(commands, input=None, output_stream=None):
|
||||
""" execute (chrooted) unbound-control command
|
||||
:param commands: command list (parameters)
|
||||
:param input: (optional ) list of lines to be sent to input stream
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user