Commit c1d2d180 authored by Chris Lamb's avatar Chris Lamb 💬

comparators.utils.file: Avoid some necessary indentation around unconditional control flow.

parent c38d7ecd
......@@ -410,5 +410,4 @@ class File(object, metaclass=abc.ABCMeta):
def maybe_decode(s):
if type(s) is bytes:
return s.decode('utf-8')
else:
return s
return s
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment