mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Better error message on rmdir failure.
This commit is contained in:
parent
5237f1ccb7
commit
ca047f1e12
@ -126,7 +126,7 @@ def mkdir(path):
|
||||
def removeall(path):
|
||||
|
||||
def _onerror(function, path, excinfo):
|
||||
print 'removeall error: (%r) %s' % (function, path)
|
||||
print 'removeall error: (%s) %s' % (excinfo, path)
|
||||
|
||||
path = host(path)
|
||||
shutil.rmtree(path, onerror = _onerror)
|
||||
|
Loading…
x
Reference in New Issue
Block a user