dependency: fix msg format

This commit is contained in:
Ruslan Kuprieiev
2018-11-18 02:23:04 +02:00
committed by GitHub
parent 7a8d00efc4
commit 1c94afc6a0
+2 -2
View File
@@ -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):