commit | b6e7bdbc1fdb2333fa9f51e1dd3afc83ee68f270 | [log] [tgz] |
---|---|---|
author | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | Tue Apr 13 16:00:39 2010 +0000 |
committer | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | Tue Apr 13 16:00:39 2010 +0000 |
tree | 4327010da291637dd12dcd83156dae116f9a88a4 | |
parent | 758bd7c5b61a6e29853cfd97383ba1fce43f17f2 [diff] |
When client state files can't be retrieved after a job the code shouldn't fail. The os.remove call is already in a proper try-except that deals with the fact that the file may be missing, the read_from_file call can be moved into the same block. Signed-off-by: John Admanski <jadmanski@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@4407 592f7852-d20e-0410-864c-8624ca9c26a4