BUG: Return list instead of map
Reading reciprocal or cartesian KPOINTS file would return list of map objects instead of list of lists.
Also, we only need to have a single call to set(kpts=kpts)
, as we will always get to that statement, in either case in the for-else statement.
As a side effect, Pyflakes found a few spaces here and there.