summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-08-27 12:21:14 +1000
committerChris Johns <chrisj@rtems.org>2013-08-27 12:21:14 +1000
commitd4fa10150abcf9666d99f55ef48eb4b112ea2f4a (patch)
treea46aef124cd1984e5387f41113c5d3e4491ce1df
parentdoc: Improve the section on reporting errors. (diff)
downloadrtems-source-builder-d4fa10150abcf9666d99f55ef48eb4b112ea2f4a.tar.bz2
sb: Fixed the errors as found by Gedare.
-rw-r--r--source-builder/sb/path.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/source-builder/sb/path.py b/source-builder/sb/path.py
index e5cbae7..6f72dbc 100644
--- a/source-builder/sb/path.py
+++ b/source-builder/sb/path.py
@@ -158,12 +158,12 @@ def copy_tree(src, dst):
if os.path.islink(dstname):
dstlinkto = os.readlink(dstname)
if linkto != dstlinkto:
- log.warning('copying tree: update of link does not match: %s -> %s: %s' % \
+ log.warning('copying tree: update of link does not match: %s -> %s' % \
(dstname, dstlinkto))
os.remove(dstname)
else:
- log.warning('copying tree: destination is not a link: %s -> %s: %s' % \
- (dstname, dstlinkto))
+ log.warning('copying tree: destination is not a link: %s' % \
+ (dstname))
os.remove(dstname)
else:
os.symlink(linkto, dstname)