Changeset e62fb86 for fedd


Ignore:
Timestamp:
Jan 17, 2013 4:21:38 PM (7 years ago)
Author:
Ted Faber <faber@…>
Branches:
master
Children:
950b55e
Parents:
84623c3
Message:

Avoid failing when started is unset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/emulab_access.py

    r319fb0a re62fb86  
    10701070        # Remove the started flag/info - the segment is no longer started
    10711071        if aid in self.allocation:
    1072             del self.allocation[aid]['started']
     1072            if 'started' in self.allocation[aid]:
     1073                del self.allocation[aid]['started']
    10731074            self.write_state()
    10741075        self.state_lock.release()
Note: See TracChangeset for help on using the changeset viewer.