Ignore:
Timestamp:
19/03/07 13:49:56 (13 years ago)
Author:
lawrence
Message:

Tiny modifications to discovery to handle multiple formats for parameter
lists ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/PythonCode/wsgi/renderParameters.py

    r2278 r2293  
    33    to the BODC vocabulary service ''' 
    44    #well the vocab bit is still to do :-) 
     5    print keywords 
    56    k=collapse(keywords) 
     7    print k 
    68    return htmlList(k) 
    79 
     
    1719    result=[] 
    1820    for item in keywords: 
    19         line=item.split('/') 
     21        line=item.split('>') 
    2022        while line<>[]: 
    2123            c=line.pop() 
     
    3032    d={} 
    3133    for item in keywords: 
    32         line=item.split('/') 
     34        line=item.split('>') 
    3335        if line[0] not in d: d[line[0]]={} 
    3436        if line[1] not in d[line[0]]: d[line[0]][line[1]]={} 
Note: See TracChangeset for help on using the changeset viewer.