Skip to content

Commit

Permalink
Add missing spaces in wrong COMPILERS message (thanks @asmeurer)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 13, 2015
1 parent afe1629 commit 921cf5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nikola/nikola.py
Expand Up @@ -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 conf.py\n(The error is in"
exit("Your file extension->compiler definition is "
"ambiguous.\nPlease remove one of the file extensions "
"from 'COMPILERS' in conf.py\n(The error is in "
"one of {0})".format(', '.join(langs)))
elif len(langs) > 1:
langs = langs[:1]
Expand Down

0 comments on commit 921cf5f

Please sign in to comment.