Show
Ignore:
Timestamp:
10/24/09 20:31:14 (11 months ago)
Author:
rsbaskin
Message:

courant.core.headers, huzzah!

Includes hints about what is coming next!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/courant/core/utils/__init__.py

    r96 r101  
    1515    arguments = [arg for arg in args] 
    1616    templates = [] 
    17     for template in arguments[0]: 
    18         if template: 
    19             templates.append(''.join([template, '.', request.extension])) 
     17     
     18    for extension in request.extension: 
     19        for template in arguments[0]: 
     20            if template: 
     21                templates.append(''.join([template, '.', extension])) 
     22     
    2023    arguments[0] = templates 
    2124