mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-11 15:28:27 +01:00
output: base: remove unnecessary 'else'
Reported by DeepSource.
This commit is contained in:
+1
-2
@@ -104,8 +104,7 @@ class OutputBase(object):
|
||||
if remote:
|
||||
parsed = urlparse(path)
|
||||
return remote.path_info / parsed.path.lstrip("/")
|
||||
else:
|
||||
return self.REMOTE.path_cls(path)
|
||||
return self.REMOTE.path_cls(path)
|
||||
|
||||
def __repr__(self):
|
||||
return "{class_name}: '{def_path}'".format(
|
||||
|
||||
Reference in New Issue
Block a user