Show
Ignore:
Timestamp:
03/24/09 10:45:07 (16 months ago)
Author:
Ga?tan de Menten <ged@…>
Branch:
default
Message:

Backed out changeset e103a74a8d84. We still want to support python2.4 for now.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • relatorio/templates/opendocument.py

    r120 r123  
    326326 
    327327                # - we create a <py:xxx> node 
    328                 attribs = {attr: a_val} if attr is not None else {} 
     328                if attr is not None: 
     329                    attribs = {attr: a_val} 
     330                else: 
     331                    attribs = {} 
    329332                genshi_node = EtreeElement('{%s}%s' % (py_namespace, 
    330333                                                       directive),