Skip to content
Browse files

Add missing spaces in wrong COMPILERS message (thanks @asmeurer)

Signed-off-by: Chris Warrick <>
  • Loading branch information
Kwpolska committed Jul 13, 2015
1 parent afe1629 commit 921cf5ffad97cf704a4c8d53a54cb437d28ec567
Showing with 3 additions and 3 deletions.
  1. +3 −3 nikola/
@@ -930,9 +930,9 @@ def get_compiler(self, source_name):
len([ext_ for ext_ in exts if source_name.endswith(ext_)]) > 0]
if len(langs) != 1:
if len(set(langs)) > 1:
exit("Your file extension->compiler definition is"
"ambiguous.\nPlease remove one of the file extensions"
"from 'COMPILERS' in\n(The error is in"
exit("Your file extension->compiler definition is "
"ambiguous.\nPlease remove one of the file extensions "
"from 'COMPILERS' in\n(The error is in "
"one of {0})".format(', '.join(langs)))
elif len(langs) > 1:
langs = langs[:1]

0 comments on commit 921cf5f

Please sign in to comment.
You can’t perform that action at this time.