typos in csv2csv.py - probably last version done while working on fr,cat and es dicts wasn't commited
authorEdouard Tisserant <edouard@pep-project.org>
Fri, 09 Dec 2016 15:16:48 +0100
changeset 147888dae00c8954
parent 1477 c0d761ae1fd9
child 1479 66aa0e649a0b
typos in csv2csv.py - probably last version done while working on fr,cat and es dicts wasn't commited
db/csv2csv.py
     1.1 --- a/db/csv2csv.py	Fri Dec 09 01:36:57 2016 +0100
     1.2 +++ b/db/csv2csv.py	Fri Dec 09 15:16:48 2016 +0100
     1.3 @@ -30,7 +30,7 @@
     1.4          if not space.match(line)
     1.5  )
     1.6  
     1.7 -_some = line for line in _all if len(line[2]) < args.length
     1.8 +_some = (line for line in _all if len(line[2]) < args.length)
     1.9  
    1.10 -for i, w in enumerate(_all):
    1.11 +for i, w in enumerate(_some):
    1.12      print("{l},{i},{w},0".format(l=w[0], i=i, w=w[2]))