diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-09-12 18:34:27 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-09-12 18:35:00 +0100 |
commit | d6da938a2c4cd7ae186e95db729aacf468854843 (patch) | |
tree | 7177734f893a1c39855ef28cc75b1b2f1391aa53 | |
parent | c5fd816c89a07640cf5645e98655614b14a6fa91 (diff) | |
download | sos-d6da938a2c4cd7ae186e95db729aacf468854843.tar.gz |
[plugin] remove superfluous parens in Plugin.report()
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index 20bb2f62..c0ab453b 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -694,7 +694,7 @@ class Plugin(object): for afile in self.copied_files: html = html + '<li><a href="%s">%s</a>' % \ (".." + afile['dstpath'], afile['srcpath']) - if (afile['symlink'] == "yes"): + if afile['symlink'] == "yes": html = html + " (symlink to %s)" % afile['pointsto'] html = html + '</li>\n' html = html + "</ul></p>\n" @@ -722,7 +722,7 @@ class Plugin(object): html = html + "</ul></p>\n" # Custom Text - if (self.custom_text != ""): + if self.custom_text != "": html = html + "<p>Additional Information:<br>\n" html = html + self.custom_text + "</p>\n" |