Changeset 1020 in lmdz_wrf


Ignore:
Timestamp:
Aug 15, 2016, 12:00:19 PM (9 years ago)
Author:
lfita
Message:

Removing end of line character `\n' from 'stringList_dictKeysVals'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/tools/generic_tools.py ΒΆ

    r1018 r1020  
    82608260    dvs = string.split(cD)
    82618261    for dv in dvs:
    8262         key = dv.split(cK)[0]
    8263         vals = dv.split(cK)[1].split(cV)
     8262        key = dv.replace('\n','').split(cK)[0]
     8263        vals = dv.replace('\n','').split(cK)[1].split(cV)
    82648264
    82658265        dictv[key] = vals
Note: See TracChangeset for help on using the changeset viewer.