From 1b0f567a014d75482fe8a14a96dc24400a072533 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Mon, 25 Mar 2013 17:10:11 +0000 Subject: Improve UI text readability Indent paragraphs in the UI text to improve readability. --- sos/policies/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sos/policies/__init__.py b/sos/policies/__init__.py index 1cea2970..a82aa7b8 100644 --- a/sos/policies/__init__.py +++ b/sos/policies/__init__.py @@ -352,14 +352,14 @@ No changes will be made to system configuration. the user in non-batch mode. If your policy sets self.distro that text will be substituted accordingly. You can also override this method to do something more complicated.""" - width = 60 + width = 58 _msg = self.msg % {'distro': self.distro, 'vendor': self.vendor, 'vendor_url': self.vendor_url, 'vendor_text': self.vendor_text, 'tmpdir': self.commons['tmpdir']} _fmt = "" for line in _msg.splitlines(): - _fmt = _fmt + fill(line, width, replace_whitespace = False) + '\n' + _fmt = _fmt + fill(" " + line, width, replace_whitespace = False) + '\n' return _fmt -- cgit