Ignore:
Timestamp:
Jun 2, 2008, 1:48:27 AM (16 years ago)
Author:
ecprice
Message:

Avoid a second remctl to determine whether ice3 is up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/webcommon.py

    r535 r554  
    4444    machines = cachedproperty(lambda self:
    4545                                  Machine.query().join('acl').select_by(user=self.user))
     46    xmlist_raw = cachedproperty(lambda self: controls.getList())
    4647    xmlist = cachedproperty(lambda self:
    47                                 controls.getList(self.machines))
     48                                dict((m, self.xmlist_raw[m.name])
     49                                     for m in self.machines
     50                                     if m.name in self.xmlist_raw))
    4851
    4952    def clear(self):
Note: See TracChangeset for help on using the changeset viewer.