~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/browser/structuralsubscription.py

  • Committer: Gary Poster
  • Date: 2011-06-03 21:23:29 UTC
  • mto: (7675.1160.15 bug-772754-2)
  • mto: This revision was merged to the branch mainline in revision 13167.
  • Revision ID: gary.poster@canonical.com-20110603212329-l6w9higsex887e0b
fix lint

Show diffs side-by-side

added added

removed removed

Lines of Context:
431
431
def expose_user_administered_teams_to_js(request, user, context,
432
432
        absoluteURL=absoluteURL):
433
433
    """Make the list of teams the user administers available to JavaScript."""
434
 
    # XXX: Robert Collins workaround multiple calls making this cause timeouts:
435
 
    # see bug 788510.
 
434
    # XXX: Robert Collins workaround multiple calls making this cause
 
435
    # timeouts: see bug 788510.
436
436
    objects = IJSONRequestCache(request).objects
437
437
    if 'administratedTeams' in objects:
438
438
        return