Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions pep257.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
except ImportError: # Python 2.x
from configparser import RawConfigParser

log = logging.getLogger()
log.setLevel(logging.DEBUG)
log = logging.getLogger(__name__)


try:
Expand Down Expand Up @@ -546,6 +545,7 @@ def setup_stream_handler(options):


def run_pep257():
log.setLevel(logging.DEBUG)
opt_parser = get_option_parser()
# setup the logger before parsing the config file, so that command line
# arguments for debug / verbose will be printed.
Expand Down