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/main.py

    r540 r554  
    204204    xmlist = g.xmlist
    205205    checkpoint.checkpoint('Got uptimes')
    206     can_clone = (controls.getList([Machine.get_by(name='ice3')])) == {}
     206    can_clone = 'ice3' in g.xmlist_raw
    207207    for m in machines:
    208208        if m not in xmlist:
Note: See TracChangeset for help on using the changeset viewer.