mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 23:10:42 +01:00
- Remove deprecation warnings - Format error output and remove duplicated info Close #1086
13 lines
285 B
Python
13 lines
285 B
Python
import dvc.logger as logger
|
|
from dvc.command.base import CmdBase
|
|
|
|
|
|
class CmdInstall(CmdBase):
|
|
def run_cmd(self):
|
|
try:
|
|
self.project.install()
|
|
except Exception:
|
|
logger.error('failed to install dvc hooks')
|
|
return 1
|
|
return 0
|