From 36252de2cab87d2b9ec067de615e4b2b09a98ec5 Mon Sep 17 00:00:00 2001 From: Pete Peterson <petersonpf@ornl.gov> Date: Wed, 14 Oct 2015 15:44:19 -0400 Subject: [PATCH] Re #13987. Fixing whitespace. --- docs/sphinxext/mantiddoc/directives/properties.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sphinxext/mantiddoc/directives/properties.py b/docs/sphinxext/mantiddoc/directives/properties.py index 3fdf7c0d483..6832a069194 100644 --- a/docs/sphinxext/mantiddoc/directives/properties.py +++ b/docs/sphinxext/mantiddoc/directives/properties.py @@ -214,7 +214,7 @@ class PropertiesDirective(AlgorithmBaseDirective): allowedValueString = str(prop.allowedValues) # 4 allows for [''] - if len(allowedValueString) > 4: + if len(allowedValueString) > 4: ##make sure the last sentence ended with a full stop (or equivalent) if (not desc.rstrip().endswith(".")) \ and (not desc.rstrip().endswith("!")) \ @@ -227,7 +227,7 @@ class PropertiesDirective(AlgorithmBaseDirective): if (not item.startswith(".")) and (not item[-4:].startswith(".")): isFileExts = False break - + prefixString = " Allowed values: " if isFileExts: prefixString = " Allowed extensions: " -- GitLab