diff options
author | Chris Johns <chrisj@rtems.org> | 2013-05-13 14:46:30 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2013-05-13 14:46:30 +1000 |
commit | ca047f1e124166f4245e515c4104c1f79c772f9c (patch) | |
tree | 96f86d03631e97e22378cdd12dfac63803c13d12 /source-builder/sb/path.py | |
parent | Fix support for Windows (MinGW) native builds using MSYS. (diff) | |
download | rtems-source-builder-ca047f1e124166f4245e515c4104c1f79c772f9c.tar.bz2 |
Better error message on rmdir failure.
Diffstat (limited to 'source-builder/sb/path.py')
-rw-r--r-- | source-builder/sb/path.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source-builder/sb/path.py b/source-builder/sb/path.py index 6a52653..a14193f 100644 --- a/source-builder/sb/path.py +++ b/source-builder/sb/path.py @@ -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) |