From d4fa10150abcf9666d99f55ef48eb4b112ea2f4a Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 27 Aug 2013 12:21:14 +1000 Subject: [PATCH] sb: Fixed the errors as found by Gedare. --- source-builder/sb/path.py | 6 +++--- 1 file 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)