~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to lib/lpresults/tracker/views/system.py

  • Committer: Marc Tardif
  • Date: 2011-08-29 09:15:02 UTC
  • Revision ID: marc.tardif@canonical.com-20110829091502-sfl5mwynurpuko1j
Added device states for system units.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
 
23
23
def system(request, system_id):
24
 
    system = getUtility(ITestSystemSet).get(int(system_id))
 
24
    system = getUtility(ITestSystemSet).get(request, system_id)
25
25
    if system is None:
26
26
        return HttpResponseNotFound("Invalid system id: %s" % system_id)
27
27