remote: use NotImplementedError in the template class

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-06-20 19:42:33 +03:00
parent 0a951f5ab3
commit 6c773bea48
+5 -5
View File
@@ -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