Changes between Version 20 and Version 21 of EggCookingTutorial/BasicEggCooking


Ignore:
Timestamp:
Jun 14, 2006, 7:30:09 PM (9 years ago)
Author:
maxb
Comment:

Wrap an overly long Python source line

Legend:

Unmodified
Added
Removed
Modified
  • EggCookingTutorial/BasicEggCooking

    v20 v21  
    4545    def get_active_navigation_item(self, req):
    4646        return 'helloworld'
    47                
     47
    4848    def get_navigation_items(self, req):
    49         yield 'mainnav', 'helloworld', Markup('<a href="%s">Hello</a>', self.env.href.helloworld())
     49        yield 'mainnav', 'helloworld', Markup('<a href="%s">Hello</a>',
     50                self.env.href.helloworld())
    5051
    5152    # IRequestHandler methods
    5253    def match_request(self, req):
    5354        return req.path_info == '/helloworld'
    54    
     55
    5556    def process_request(self, req):
    5657        req.send_response(200)
     
    5859        req.end_headers()
    5960        req.write('Hello world!')
    60        
    6161}}}
    6262