From d958870edfddb49de17480172021063a5fc2c7fd Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Tue, 26 Nov 2019 10:45:19 -0600 Subject: [PATCH] analytics: exit_code -> return_code shout-out to @efiop for the suggestion --- dvc/analytics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dvc/analytics.py b/dvc/analytics.py index 2a8190773..75ce5c58c 100644 --- a/dvc/analytics.py +++ b/dvc/analytics.py @@ -20,7 +20,7 @@ from dvc.utils import env2bool, is_binary, makedirs logger = logging.getLogger(__name__) -def collect_and_send_report(arguments=None, exit_code=None): +def collect_and_send_report(arguments=None, return_code=None): """ Query the system to fill a report and send it on a detached process. @@ -29,7 +29,7 @@ def collect_and_send_report(arguments=None, exit_code=None): """ report = { "cmd_class": arguments.func.__name__, - "cmd_return_code": exit_code, + "cmd_return_code": return_code, "dvc_version": __version__, "is_binary": is_binary(), "scm_class": scm_in_use(),