| skipped 1847 lines |
1848 | 1848 | | labels_str = mybytes.decode(encoding) |
1849 | 1849 | | except UnicodeDecodeError: |
1850 | 1850 | | pass |
1851 | | - | labels = [p.strip(string.whitespace+'\"') for p in re.split("(,|\\\".*?\\\"|'.*?')", labels_str) if p.strip(',')] |
| 1851 | + | labels.extend([p.strip(string.whitespace+'\"') for p in re.split("(,|\\\".*?\\\"|'.*?')", labels_str) if p.strip(',')]) |
1852 | 1852 | | cased_labels = [] |
1853 | 1853 | | for label in labels: |
1854 | 1854 | | if label == '' or label == None: |
| skipped 320 lines |