Ignore:
Timestamp:
03/28/12 20:31:22 (2 years ago)
Author:
Lan Zagar <lan.zagar@…>
Branch:
default
Message:

Replaced split('\n') with splitlines().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/network/readwrite.py

    r10469 r10674  
    370370    f.close() 
    371371     
    372     content = content.split('\n') 
     372    content = content.splitlines() 
    373373    comments = (line for line in content if line.strip().startswith('#')) 
    374374    content = (line for line in content if not line.strip().startswith('#')) 
Note: See TracChangeset for help on using the changeset viewer.