output: base: remove unnecessary 'else'

Reported by DeepSource.
This commit is contained in:
Ruslan Kuprieiev
2019-08-18 05:15:08 +03:00
parent 875186d5a6
commit 5915f17fcf
+1 -2
View File
@@ -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(