From 6c773bea48ccef5f3a3bbc3f8530af7ece82b926 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Wed, 20 Jun 2018 17:29:32 +0300 Subject: [PATCH] remote: use NotImplementedError in the template class Signed-off-by: Ruslan Kuprieiev --- dvc/remote/base.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dvc/remote/base.py b/dvc/remote/base.py index 1ff09484e..95982079b 100644 --- a/dvc/remote/base.py +++ b/dvc/remote/base.py @@ -46,19 +46,19 @@ class RemoteBase(object): return re.match(cls.REGEX, url) def save_info(self, path_info): - pass + raise NotImplementedError def save(self, path_info): - pass + raise NotImplementedError def checkout(self, path_info, checksum_info): - pass + raise NotImplementedError def download(self, path_info, path): - pass + raise NotImplementedError def upload(self, path, path_info): - pass + raise NotImplementedError # Old code starting from here