summaryrefslogtreecommitdiff
path: root/docs/source/generate_configs.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/generate_configs.py')
-rwxr-xr-xdocs/source/generate_configs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/generate_configs.py b/docs/source/generate_configs.py
index 8ce483c4..c30f9f04 100755
--- a/docs/source/generate_configs.py
+++ b/docs/source/generate_configs.py
@@ -39,7 +39,7 @@ def rewrite_entries(config, path, specpath, sec=None):
comments = [sec.inline_comments[entry]] + sec.comments[entry]
for c in comments:
if c:
- description += ' '*4 + re.sub('^\s*#', '', c)
+ description += ' ' * 4 + re.sub(r'^\s*#', '', c)
description = description.rstrip(' ') + '\n'
if etype == 'option':
description += '\n :type: option, one of %s\n' % eargs