From 87e8c45f760dbd036af7b575a492970eddd3d19d Mon Sep 17 00:00:00 2001 From: David Wilson Date: Fri, 2 Nov 2018 16:03:59 +0000 Subject: [PATCH] core: fix minify_test regression introduced in 804bacdadb14d60cf26808a64d0c6a70230ca643 The minifier can't handle empty function bodies, so the pass statements are necessary. --- mitogen/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mitogen/core.py b/mitogen/core.py index 2ac9bdbe..83efad42 100644 --- a/mitogen/core.py +++ b/mitogen/core.py @@ -1284,6 +1284,7 @@ class BasicStream(object): called on them, and the method must call :meth:`on_disconect` if reading produces an empty string. """ + pass def on_transmit(self, broker): """ @@ -1295,6 +1296,7 @@ class BasicStream(object): Subclasses must implement this if :meth:`Broker._start_transmit` is ever called on them. """ + pass def on_shutdown(self, broker): """