diff options
author | Waylan Limberg <waylan@gmail.com> | 2010-07-06 13:46:50 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2010-07-06 13:46:50 -0400 |
commit | 543027d73f2d9bf66fc8b56c18acfd1c987b1a8d (patch) | |
tree | 1b20bb3051cd076d2f0f14ec5ca844cf41c5bbff /bin | |
parent | 2c19f4e047b70a17d74e976b0cfd35b5c0340a33 (diff) | |
download | markdown-543027d73f2d9bf66fc8b56c18acfd1c987b1a8d.tar.gz markdown-543027d73f2d9bf66fc8b56c18acfd1c987b1a8d.tar.bz2 markdown-543027d73f2d9bf66fc8b56c18acfd1c987b1a8d.zip |
Updated commandline script as logging settings are no longer in markdown/__init__.py
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/markdown_py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/markdown_py b/bin/markdown_py index 8d04cc9..b34cb66 100755 --- a/bin/markdown_py +++ b/bin/markdown_py @@ -30,12 +30,11 @@ License: BSD (see docs/LICENSE for details). """ import logging -from markdown import COMMAND_LINE_LOGGING_LEVEL from markdown import commandline # Setup a logger manually for compatibility with Python 2.3 logger = logging.getLogger('MARKDOWN') -logger.setLevel(COMMAND_LINE_LOGGING_LEVEL) +logger.setLevel(commandline.COMMAND_LINE_LOGGING_LEVEL) logger.addHandler(logging.StreamHandler()) if __name__ == '__main__': |