commit | 39b29be8a6639212402303adab4df29976d8fc7c | [log] [tgz] |
---|---|---|
author | Skip Montanaro <skip@pobox.com> | Fri Dec 30 05:09:48 2005 +0000 |
committer | Skip Montanaro <skip@pobox.com> | Fri Dec 30 05:09:48 2005 +0000 |
tree | 39ec5c719125381f6898668ba36f1090334359d0 | |
parent | 0174dddc65af50900324afca3c5d2400858b75f0 [diff] |
Fix a delimiter detection problem in sniffer. Sniffing "a|b|c\r\n" was returning 'a' as the delimiter. It now returns '|', but not because I understood better what the code was supposed to do. Would someone that understands the idea behind _guess_delimiter() (see its doc string) look to see if my fallback choice is better than before or if it's just serendipity that I picked the proper delimiter?