/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos

  • Committer: Teddy Hogeborn
  • Date: 2011-12-21 17:16:00 UTC
  • mto: This revision was merged to the branch mainline in revision 527.
  • Revision ID: teddy@recompile.se-20111221171600-riv7zgtnb3rojcfl
* mandos (main): Handle EOFError when reading state file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2218
2218
                           .format(e))
2219
2219
            if e.errno != errno.ENOENT:
2220
2220
                raise
 
2221
        except EOFError as e:
 
2222
            logger.warning("Could not load persistent state: "
 
2223
                           "EOFError: {0}".format(e))
2221
2224
    
2222
2225
    with PGPEngine() as pgp:
2223
2226
        for client_name, client in clients_data.iteritems():