~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/launchpad/webapp/adapter.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-22 04:18:30 UTC
  • mfrom: (14564.3.2 megalint-6)
  • Revision ID: launchpad@pqm.canonical.com-20111222041830-444w19r626s6qkzj
[r=jtv][no-qa] Lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
241
241
 
242
242
 
243
243
def get_timeline_actions():
244
 
    """Return an iterable of timeline actions.
245
 
    
246
 
    """
247
 
    return get_request_timeline(get_current_browser_request()).actions[
248
 
        :IN_PAGE_TIMELINE_CAP]
 
244
    """Return an iterable of timeline actions."""
 
245
    timeline = get_request_timeline(get_current_browser_request())
 
246
    return timeline.actions[:IN_PAGE_TIMELINE_CAP]
249
247
 
250
248
 
251
249
def store_sql_statements_and_request_duration(event):