We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25f9f4d + fcbafc2 commit 14c2565Copy full SHA for 14c2565
sphinxcontrib/confluencebuilder/config/notifications.py
@@ -78,14 +78,15 @@ def warnings(validator):
78
'confluence_server_pass',
79
]
80
81
- auth_key_count = 0
+ auth_keys_used = []
82
for option in auth_keys:
83
value = getattr(config, option)
84
if value:
85
- auth_key_count += 1
+ auth_keys_used.append(option)
86
87
- if auth_key_count > 1:
88
- logger.warn('multiple authentication options configured')
+ if len(auth_keys_used) > 1:
+ logger.warn('multiple authentication options configured; only one of '
89
+ 'these options should be set: ' + ', '.join(auth_keys_used))
90
91
# check if any user defined mime types are unknown
92
if config.confluence_additional_mime_types is not None:
0 commit comments