From b480d6edfdb404509437068eeb15cace074801e1 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Tue, 2 Apr 2024 11:55:16 -0700 Subject: [PATCH] Fix printing items in logs --- intake/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intake/cli.py b/intake/cli.py index aea1a7a..a1a6d8b 100644 --- a/intake/cli.py +++ b/intake/cli.py @@ -172,7 +172,7 @@ def cmd_action(cmd_args): source = LocalSource(data_path, args.source) try: item = execute_action(source, args.item, args.action, 5) - print("Item:", item, file=sys.stderr) + print("Item:", item._item, file=sys.stderr) except InvalidConfigException as ex: print("Could not fetch", args.source, file=sys.stderr) print(ex, file=sys.stderr)