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

PEP8: E731 - Don't assign lambda expressions.

parent 6ce0b750
......@@ -122,7 +122,8 @@ def xattr(path1, path2):
get_all = xattr_.get_all
except AttributeError:
get_all = lambda x: xattr_.xattr(x).items()
def get_all(x):
return xattr_.xattr(x).items()
def fn(x):
return '\n'.join('{}: {}'.format(
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