diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2019-08-26 15:48:55 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2019-08-26 15:48:55 -0400 |
commit | f15060b52604b213bcc26dc19508eb0562fcba8c (patch) | |
tree | ae5c977f182ec2961bd39fe850eb3ce72683d12f | |
parent | 34ec16a9d46beeec62eaecf7d62c8aa46fcbad54 (diff) | |
download | sos-f15060b52604b213bcc26dc19508eb0562fcba8c.tar.gz |
[pep8] Fix E501 line too long
Fix pep8 issues from increasing indentation.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos/plugins/__init__.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index 5b76df2d..5e59aa68 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -923,8 +923,11 @@ class Plugin(object): file_name = _file if file_name[0] == os.sep: file_name = file_name.lstrip(os.sep) - strfile = file_name.replace(os.path.sep, ".") + ".tailed" - self.add_string_as_file(tail(_file, sizelimit), strfile) + strfile = ( + file_name.replace(os.path.sep, ".") + ".tailed" + ) + self.add_string_as_file(tail(_file, sizelimit), + strfile) rel_path = os.path.relpath('/', os.path.dirname(_file)) link_path = os.path.join(rel_path, 'sos_strings', self.name(), strfile) |