def load(self):
try:<EOL><INDENT>with open(self._state_file) as f:<EOL><INDENT>state = yaml.safe_load(f)<EOL>self._containers = state['<STR_LIT>']<EOL><DEDENT><DEDENT>except (IOError, OSError) as err:<EOL><INDENT>if err.errno == errno.ENOENT:<EOL><INDENT>raise NotInitializedError("<STR_LIT>")<EOL><DEDENT>raise InconsistentStateError("<STR_LIT>"<EOL>+ str(err))<EOL><DEDENT>except Exception as err:<EOL><INDENT>raise InconsistentStateError("<STR_LIT>"<EOL>+ str(err))<EOL><DEDENT>
Try to load a blockade state file in the current directory