Changeset 10674:ac200cc97b30 in orange for setup.py


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
  • setup.py

    r10507 r10674  
    1515""" 
    1616 
    17 DOCLINES = __doc__.split("\n") 
     17DOCLINES = __doc__.splitlines() 
    1818 
    1919import os, sys         
     
    6060DOWNLOAD_URL        = "https://bitbucket.org/biolab/orange/downloads" 
    6161LICENSE             = 'GNU General Public License (GPL)' 
    62 CLASSIFIERS         = filter(None, CLASSIFIERS.split('\n')) 
     62CLASSIFIERS         = filter(None, CLASSIFIERS.splitlines()) 
    6363AUTHOR              = "Bioinformatics Laboratory, FRI UL" 
    6464AUTHOR_EMAIL        = "orange@fri.uni-lj.si" 
    65 KEYWORDS            = filter(None, KEYWORDS.split('\n')) 
     65KEYWORDS            = filter(None, KEYWORDS.splitlines()) 
    6666MAJOR               = 2 
    6767MINOR               = 5 
Note: See TracChangeset for help on using the changeset viewer.