From 87e808b3927981321a4aa4441d5f65c1ad824834 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Mon, 7 Dec 2020 10:18:05 -0500 Subject: [PATCH] one more switch --- src/allmydata/scripts/tahoe_add_alias.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/allmydata/scripts/tahoe_add_alias.py b/src/allmydata/scripts/tahoe_add_alias.py index 4451f7fad..df53c95a2 100644 --- a/src/allmydata/scripts/tahoe_add_alias.py +++ b/src/allmydata/scripts/tahoe_add_alias.py @@ -152,6 +152,9 @@ def _get_alias_details(nodedir): def list_aliases(options): + """ + Show aliases that exist. + """ data = _get_alias_details(options['node-directory']) if options['json']: @@ -175,6 +178,6 @@ def list_aliases(options): if output: # Show whatever we computed. Skip this if there is no output to avoid # a spurious blank line. - print(output, file=options.stdout) + show_output(options.stdout, output) return 0