Changeset 123:dfee8d6b2bca
- Timestamp:
- 03/24/09 10:45:07 (12 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r120
|
r123
|
|
| 326 | 326 | |
| 327 | 327 | # - 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 = {} |
| 329 | 332 | genshi_node = EtreeElement('{%s}%s' % (py_namespace, |
| 330 | 333 | directive), |