projects
/
services
/
jenkins-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91a33f0
)
Fix exception of deleting a non-exist directory
author
Lin Yang
<lin.a.yang@intel.com>
Sun, 28 Apr 2013 02:30:23 +0000
(10:30 +0800)
committer
Lin Yang
<lin.a.yang@intel.com>
Sun, 28 Apr 2013 02:30:23 +0000
(10:30 +0800)
Change-Id: I488160a87576923212da67ff6214d05f416e0bd7
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
common/git.py
patch
|
blob
|
history
diff --git
a/common/git.py
b/common/git.py
index
5dd29ae
..
0539fa6
100644
(file)
--- a/
common/git.py
+++ b/
common/git.py
@@
-183,7
+183,7
@@
def _clone_gitproject(giturl, gerritprj, localdir):
if not result:
print '\nClone gerrit project Failed.'
- shutil.rmtree(localdir)
+ shutil.rmtree(localdir
, ignore_errors=True
)
return result