Changeset 311730f


Ignore:
Timestamp:
24/11/2011 12:41:36 (3 years ago)
Author:
yomguy <yomguy@…>
Branches:
master, crem, crem2, dev, dev2, diadems, feature/breadcrumbs, feature/ts-0.5, feature/ts-0.5.4, feature/writecache, forma, generic, instru_search, lam, lam2, mapsv3, merge, nlivemulti, production, release/1.4.4, sabiod, security, server, social, storage, telecaster, test, video
Children:
d4c2dd3, e9ecf46, 05521ce
Parents:
7f64dfe
git-author:
yomguy <yomguy@…> (24/11/2011 12:41:36)
git-committer:
yomguy <yomguy@…> (24/11/2011 12:41:36)
Message:

import crem: strip item CSV codes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/scripts/telemeta-crem-import.py

    re617ec5 r311730f  
    107107                csv_data = csv.reader(open(csv_file), delimiter=';') 
    108108                for row in csv_data: 
    109                     rows[row[1]] = row[0] 
     109                    rows[row[1].strip()] = row[0].strip() 
    110110                msg = collection + ' import du fichier CSV de la collection' 
    111111                self.logger.info(collection, msg[:70]) 
Note: See TracChangeset for help on using the changeset viewer.