mirror of https://github.com/nucypher/nucypher.git
Workaround in Bob for #1216: Undefined parameters for emitter.ipc()
parent
cae44e3e51
commit
2e720618d2
|
@ -176,7 +176,7 @@ def alice(click_config,
|
|||
"""Paint an existing configuration to the console"""
|
||||
configuration_file_location = config_file or AliceConfiguration.default_filepath()
|
||||
response = AliceConfiguration._read_configuration_file(filepath=configuration_file_location)
|
||||
return emitter.ipc(response=response, request_id=0, duration=0) # FIXME: what are request_id and duration here?
|
||||
return emitter.ipc(response=response, request_id=0, duration=0) # FIXME: #1216 - what are request_id and duration here?
|
||||
|
||||
#
|
||||
# Get Alice Configuration
|
||||
|
|
|
@ -172,7 +172,7 @@ def bob(click_config,
|
|||
elif action == "view":
|
||||
"""Paint an existing configuration to the console"""
|
||||
response = BobConfiguration._read_configuration_file(filepath=config_file or bob_config.config_file_location)
|
||||
return BOB.controller.emitter.ipc(response)
|
||||
return BOB.controller.emitter.ipc(response, request_id=0, duration=0) # FIXME: #1216 - what are request_id and duration here?
|
||||
|
||||
elif action == "destroy":
|
||||
"""Delete Bob's character configuration files from the disk"""
|
||||
|
|
|
@ -352,7 +352,7 @@ def ursula(click_config,
|
|||
|
||||
emitter.echo("CONFIGURATION --------")
|
||||
response = UrsulaConfiguration._read_configuration_file(filepath=config_file or ursula_config.config_file_location)
|
||||
return emitter.ipc(response=response, request_id=0, duration=0) # FIXME: what are request_id and duration here?
|
||||
return emitter.ipc(response=response, request_id=0, duration=0) # FIXME: #1216 - what are request_id and duration here?
|
||||
|
||||
elif action == 'confirm-activity':
|
||||
receipt = URSULA.confirm_activity()
|
||||
|
|
Loading…
Reference in New Issue