diff options
author | Aravinda VK <avishwan@redhat.com> | 2015-03-03 17:22:30 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-03-05 18:26:57 -0800 |
commit | 2452d284b38061981d7fbd7e5a7bd15808d13c21 (patch) | |
tree | 1e173a1d67cbf6f14b5f3a7a0e4f6b3d78ca454a /geo-replication/src | |
parent | bc2e58a436002e1627a225663bc7b11dddc1172f (diff) |
geo-rep: Handle ENOENT during cleanup
shutil.rmtree was failing to remove file if file was not
exists. Added error handling function to ignore ENOENT if
a file/dir not present.
BUG: 1198101
Change-Id: I1796db2642f81d9e2b5e52c6be34b4ad6f1c9786
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/9792
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Prashanth Pai <ppai@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Saravanakumar Arumugam <sarumuga@redhat.com>
Diffstat (limited to 'geo-replication/src')
0 files changed, 0 insertions, 0 deletions