Workaround in Bob for #1216: Undefined parameters for emitter.ipc()

pull/1217/head
David Núñez 2019-08-11 22:39:53 +02:00
parent cae44e3e51
commit 2e720618d2
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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"""

View File

@ -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()