diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-09-12 18:31:01 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-09-12 18:31:01 +0100 |
commit | 589a125b13918e1379d56ecc9ab8b8f6eb158729 (patch) | |
tree | a87a8689a1a81d3e5a2815abe7e0e82466a01139 | |
parent | ebe33bbfd234d1fc589538e5c2855d5357d5fcd7 (diff) | |
download | sos-589a125b13918e1379d56ecc9ab8b8f6eb158729.tar.gz |
[plugin] fix whitespace in Plugin._copy_symlink()
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/__init__.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index be2827ab..e7209020 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -244,12 +244,11 @@ class Plugin(object): absdest = os.path.normpath(dest) # adjust the target used inside the report to always be relative if os.path.isabs(linkdest): - reldest = os.path.relpath(linkdest, - os.path.dirname(srcpath)) - self._log_debug("made link target '%s' relative as '%s'" - % (linkdest, reldest)) + reldest = os.path.relpath(linkdest, os.path.dirname(srcpath)) + self._log_debug("made link target '%s' relative as '%s'" + % (linkdest, reldest)) else: - reldest = linkdest + reldest = linkdest self._log_debug("copying link '%s' pointing to '%s' with isdir=%s" % (srcpath, linkdest, os.path.isdir(absdest))) |