From 146e75be3ee0c49d24c94e171dcdac625c2d4979 Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Sat, 7 Dec 2019 21:15:11 -0600 Subject: [PATCH] analytics: raise error when collecting a not supported os --- dvc/analytics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dvc/analytics.py b/dvc/analytics.py index 39e6234ad..26243d609 100644 --- a/dvc/analytics.py +++ b/dvc/analytics.py @@ -127,7 +127,8 @@ def _system_info(): "linux_distro_version": distro.version(), } - return {"os": system.lower()} + # We don't collect data for any other system. + raise NotImplementedError def _find_or_create_user_id():