mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-12-03 07:18:28 +01:00
dependency: fix msg format
This commit is contained in:
@@ -5,8 +5,8 @@ from dvc.exceptions import DvcException
|
||||
|
||||
class DependencyError(DvcException):
|
||||
def __init__(self, path, msg):
|
||||
msg = 'Dependency \'{}\' error: {}'
|
||||
super(DependencyError, self).__init__(msg.format(path, msg))
|
||||
msg = 'Dependency \'{}\' error: {}'.format(path, msg)
|
||||
super(DependencyError, self).__init__(msg)
|
||||
|
||||
|
||||
class DependencyDoesNotExistError(DependencyError):
|
||||
|
||||
Reference in New Issue
Block a user