output: mypy fixes

This commit is contained in:
Peter Rowlands
2022-10-11 16:12:00 +03:00
committed by Ruslan Kuprieiev
parent c12deaa62c
commit 0ca0d94cb2
+1
View File
@@ -816,6 +816,7 @@ class Output:
else:
return None
assert obj
fs_path = self.fs.path
if filter_info and filter_info != self.fs_path:
prefix = fs_path.relparts(filter_info, self.fs_path)