change method to static

This commit is contained in:
n3hrox
2019-10-27 18:03:33 +01:00
parent a9b9d52853
commit cf9037932d
+2 -1
View File
@@ -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: