[wpdev-commits] xmlscripts/scripts/commands import.py,1.15,1.16
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-28 19:13:57
|
Update of /cvsroot/wpdev/xmlscripts/scripts/commands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30343/commands Modified Files: import.py Log Message: Shrink Index: import.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/import.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** import.py 22 Oct 2004 23:18:59 -0000 1.15 --- import.py 28 Oct 2004 19:13:17 -0000 1.16 *************** *** 97,101 **** warnings = '' count = 0 - for line in file: # Replace \r and \n's --- 97,100 ---- *************** *** 103,106 **** --- 102,106 ---- line = line.replace( "\n", "" ) + if len(line.split(' ')) != 5: continue |