Ignore:
Timestamp:
Sep 10, 2009 5:00:21 PM (15 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-2.00, version-3.01, version-3.02
Children:
13e3dd2
Parents:
32e7d93
Message:

Yipe! Time bomb (the code in the loop uses a different value for the loop variable than the actual iterator in the for!).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/emulab_access.py

    r32e7d93 re2a7a413  
    821821        seer_out = False
    822822        client_out = False
    823         for p in [ e for e in topo.elements \
     823        for e in [ e for e in topo.elements \
    824824                if isinstance(e, topdl.Computer) and e.get_attribute('portal')]:
    825825            myname = e.name[0]
Note: See TracChangeset for help on using the changeset viewer.