From d56bbb95e252b1e3046b4f8c946b6a1b2e3585b8 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Sat, 29 Oct 2016 11:31:38 -0700 Subject: rename logging .py to prevent import errors --- examples/context_logging.py | 6 ++++++ examples/logging.py | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 examples/context_logging.py delete mode 100644 examples/logging.py (limited to 'examples') diff --git a/examples/context_logging.py b/examples/context_logging.py new file mode 100644 index 00000000..dccfd8b2 --- /dev/null +++ b/examples/context_logging.py @@ -0,0 +1,6 @@ +from mitmproxy import ctx + + +def start(): + ctx.log.info("This is some informative text.") + ctx.log.error("This is an error.") diff --git a/examples/logging.py b/examples/logging.py deleted file mode 100644 index dccfd8b2..00000000 --- a/examples/logging.py +++ /dev/null @@ -1,6 +0,0 @@ -from mitmproxy import ctx - - -def start(): - ctx.log.info("This is some informative text.") - ctx.log.error("This is an error.") -- cgit v1.2.3