Skip to content

Commit

Permalink
Merge pull request #708 from d0ugal/disable_click_warning
Browse files Browse the repository at this point in the history
Disable the warning for unicode_literals in Click and Python 2
  • Loading branch information
d0ugal committed Aug 14, 2015
2 parents d06a5ad + d282ad7 commit 2cd95d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mkdocs/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@

log = logging.getLogger(__name__)

# Disable the warning that Click displays (as of Click version 5.0) when users
# use unicode_literals in Python 2.
# See http://click.pocoo.org/dev/python3/#unicode-literals for more details.
click.disable_unicode_literals_warning = True


class State(object):
''' Maintain logging level.'''
Expand Down

0 comments on commit 2cd95d4

Please sign in to comment.