From cf9037932d731cfe5c690a6e57e8ab762c6d424c Mon Sep 17 00:00:00 2001 From: n3hrox Date: Sun, 27 Oct 2019 18:03:33 +0100 Subject: [PATCH] change method to static --- dvc/updater.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dvc/updater.py b/dvc/updater.py index b987d3edc..14c2f8f4e 100644 --- a/dvc/updater.py +++ b/dvc/updater.py @@ -147,7 +147,8 @@ class Updater(object): # pragma: no cover return instructions[package_manager] - def _get_dvc_path(self, system): + @staticmethod + def _get_dvc_path(system): if system in ("linux", "darwin"): output = subprocess.run(["which", "dvc"], capture_output=True) else: