Changeset 501:bb20b2b6ab90 in livinglogic.python.www for site/Python_xmlns.py

Show
Ignore:
Timestamp:
01/06/08 00:42:06 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Don't use add() with a generator.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • site/Python_xmlns.py

    r500 r501  
    12811281                        if lastsibling is not None and lastsibling != context.page: 
    12821282                            +html.link(rel="last", title="Last page in set", href=lastsibling.url) 
    1283                         xsc.add(html.link(link.attrs) for link in context.page.alternates()) 
     1283                        for link in context.page.alternates(): 
     1284                            +html.link(link.attrs) 
    12841285                        if "refresh" in self.attrs: 
    12851286                            +html.meta(http_equiv="refresh", content=self.attrs.refresh)