mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
analytics: raise error when collecting a not supported os
This commit is contained in:
+2
-1
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user