mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
change method to static
This commit is contained in:
+2
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user