From 2e720618d2dd80668c5a787fa5385d8862007343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=BA=C3=B1ez?= Date: Sun, 11 Aug 2019 22:39:53 +0200 Subject: [PATCH] Workaround in Bob for #1216: Undefined parameters for emitter.ipc() --- nucypher/cli/characters/alice.py | 2 +- nucypher/cli/characters/bob.py | 2 +- nucypher/cli/characters/ursula.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nucypher/cli/characters/alice.py b/nucypher/cli/characters/alice.py index 48ad314f4..8c7fc7b68 100644 --- a/nucypher/cli/characters/alice.py +++ b/nucypher/cli/characters/alice.py @@ -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 diff --git a/nucypher/cli/characters/bob.py b/nucypher/cli/characters/bob.py index b4bb0d193..ca182f128 100644 --- a/nucypher/cli/characters/bob.py +++ b/nucypher/cli/characters/bob.py @@ -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""" diff --git a/nucypher/cli/characters/ursula.py b/nucypher/cli/characters/ursula.py index ed511ab63..1e80c4687 100644 --- a/nucypher/cli/characters/ursula.py +++ b/nucypher/cli/characters/ursula.py @@ -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()