Changeset 1682:2e2c671e4300 in orange-bioinformatics for _bioinformatics/obiBioMart.py


Ignore:
Timestamp:
06/12/12 11:15:18 (23 months ago)
Author:
Lan Zagar <lan.zagar@…>
Branch:
default
Message:

Replaced split(\n) with splitlines (closes #1160).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _bioinformatics/obiBioMart.py

    r1636 r1682  
    165165 
    166166def de_tab(text, sep="\t"): 
    167     return [line.split(sep) for line in text.split("\n") if line.strip()] 
     167    return [line.split(sep) for line in text.splitlines() if line.strip()] 
    168168 
    169169 
Note: See TracChangeset for help on using the changeset viewer.