Replace map/partial with list comprehension

The rather Haskellish pattern

  map(compat.partial(fn, arg), xs)

can be replaced by the much more pythonic

  [fn(arg, x) for x in xs]

Signed-off-by: Brian Foley <bpfoley@google.com>
Reviewed-by: Viktor Bachraty <vbachraty@google.com>
8 files changed