Commits

Anonymous committed 7839b86

no empty split at end

  • Participants
  • Parent commits b620f3b

Comments (0)

Files changed (1)

                 result.append(ln)
 		return
             else:
-                trx['splits'].append(fixSplit(mkRecord(SplitCols, fields[4:])))
+                if ln.strip():
+                    trx['splits'].append(fixSplit(mkRecord(SplitCols,
+                                                           fields[4:])))
 
 
 def mkRecord(keys, fields):