diff options
author | Chris Johns <chrisj@rtems.org> | 2013-08-27 12:21:14 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2013-08-27 12:21:14 +1000 |
commit | d4fa10150abcf9666d99f55ef48eb4b112ea2f4a (patch) | |
tree | a46aef124cd1984e5387f41113c5d3e4491ce1df /source-builder/sb/path.py | |
parent | doc: Improve the section on reporting errors. (diff) | |
download | rtems-source-builder-d4fa10150abcf9666d99f55ef48eb4b112ea2f4a.tar.bz2 |
sb: Fixed the errors as found by Gedare.
Diffstat (limited to 'source-builder/sb/path.py')
-rw-r--r-- | source-builder/sb/path.py | 6 |
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) |