Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make auto-reloading optional #511

Merged
merged 3 commits into from
May 10, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
is_verbose -> verbose
  • Loading branch information
d0ugal committed May 9, 2015
commit 6be44ccd188e9eb6ec2bfa8b27e43f2f233fb0e7
4 changes: 2 additions & 2 deletions mkdocs/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
log = logging.getLogger(__name__)


def configure_logging(is_verbose=False):
def configure_logging(verbose=False):
'''When a --verbose flag is passed, increase the verbosity of mkdocs'''

logger = logging.getLogger('mkdocs')
Expand All @@ -25,7 +25,7 @@ def configure_logging(is_verbose=False):
stream.setFormatter(formatter)
logger.addHandler(stream)

if is_verbose:
if verbose:
logger.setLevel(logging.DEBUG)
else:
logger.setLevel(logging.INFO)
Expand Down