summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/path.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-05-13 14:46:30 +1000
committerChris Johns <chrisj@rtems.org>2013-05-13 14:46:30 +1000
commitca047f1e124166f4245e515c4104c1f79c772f9c (patch)
tree96f86d03631e97e22378cdd12dfac63803c13d12 /source-builder/sb/path.py
parentFix support for Windows (MinGW) native builds using MSYS. (diff)
downloadrtems-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.py2
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)