Changeset 492 for CMIP6dreq/trunk


Ignore:
Timestamp:
19/11/15 10:01:42 (5 years ago)
Author:
mjuckes
Message:

updates for 3.

Location:
CMIP6dreq/trunk/dreqPy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreq/trunk/dreqPy/dreq.py

    r484 r492  
    1717  ll = [] 
    1818  for l in ii: 
    19     ll.append( [x[1:-1] for x in string.strip(l).split('\t') ] ) 
     19    ##ll.append( [x[1:-1] for x in string.strip(l).split('\t') ] ) 
     20    ll.append( [x[1:-1] for x in l.strip().split('\t') ] ) 
    2021  cc = collections.defaultdict( dict ) 
    2122  for l in ll[3:]: 
  • CMIP6dreq/trunk/dreqPy/simpleCheck.py

    r465 r492  
    115115      self._clear_ch03() 
    116116      return 
    117     if string.find(ii[0],'validates') != -1: 
     117    if ii[0].find('validates') != -1: 
    118118      print ( 'Sample XML validated' ) 
    119119      self.ok = True 
Note: See TracChangeset for help on using the changeset viewer.