aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-03-25 17:10:11 +0000
committerBryn M. Reeves <bmr@redhat.com>2013-03-25 17:10:11 +0000
commit1b0f567a014d75482fe8a14a96dc24400a072533 (patch)
tree3ab033c43b324dd38d146c3756f7b5a0f099294a
parent183d503016c44981ebe6090f07f73fbea7b1b019 (diff)
downloadsos-1b0f567a014d75482fe8a14a96dc24400a072533.tar.gz
Improve UI text readability
Indent paragraphs in the UI text to improve readability.
-rw-r--r--sos/policies/__init__.py4
1 files 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