http: Remove default arguments from prepare callback function.
This commit is contained in:
parent
65bc7e55cf
commit
3ec9d222b8
1 changed files with 1 additions and 2 deletions
|
|
@ -195,9 +195,8 @@ class HttpHooksCallbackDaemon(ThreadedHookCallbackDaemon):
|
|||
self._callback_thread = None
|
||||
|
||||
|
||||
def prepare_callback_daemon(extras, protocol=None, use_direct_calls=False):
|
||||
def prepare_callback_daemon(extras, protocol, use_direct_calls):
|
||||
callback_daemon = None
|
||||
protocol = protocol.lower() if protocol else None
|
||||
|
||||
if use_direct_calls:
|
||||
callback_daemon = DummyHooksCallbackDaemon()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue