From 98a079aa692fe532e54a5b919d939bf7772af8fd Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 19 Dec 2016 15:50:33 +0100 Subject: [PATCH] rename logging.py example. this conflicted with Python's stdlib --- docs/scripting/overview.rst | 4 ++-- examples/simple/{logging.py => log_events.py} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename examples/simple/{logging.py => log_events.py} (100%) diff --git a/docs/scripting/overview.rst b/docs/scripting/overview.rst index 84f2135e5..6ec0caaa7 100644 --- a/docs/scripting/overview.rst +++ b/docs/scripting/overview.rst @@ -85,8 +85,8 @@ and mitmproxy console can place script output in the event buffer. Here's how this looks: -.. literalinclude:: ../../examples/simple/logging.py - :caption: :src:`examples/simple/logging.py` +.. literalinclude:: ../../examples/simple/log_events.py + :caption: :src:`examples/simple/log_events.py` :language: python The ``ctx`` module also exposes the mitmproxy master object at ``ctx.master`` diff --git a/examples/simple/logging.py b/examples/simple/log_events.py similarity index 100% rename from examples/simple/logging.py rename to examples/simple/log_events.py