Skip to content

Commit

Permalink
Addressing nits
Browse files Browse the repository at this point in the history
  • Loading branch information
westover committed Oct 22, 2019
1 parent 7aef99c commit 77959dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions mutornadomon/monitor.py
Expand Up @@ -30,7 +30,7 @@ def __init__(
will filter it. Defaults to a filter which only allows requests from
127.0.0.0/8.
:param io_loop: IOLoop to run on if not using the standard singleton.
:param io_loop: IOLoop to run on if not using the standard singleton. NO LONGER USED
:param external_interface:
Expand All @@ -52,16 +52,13 @@ def __init__(
self.external_interface = external_interface

self._ioloop_exception_patch = None
# self._monkey_patch_ioloop_exceptions()
if hasattr(collections, 'Counter'):
self._COUNTERS = collections.Counter()
else:
self._COUNTERS = collections.defaultdict(lambda: 0)
self._GAUGES = {}
self._reset_ephemeral()



def __del__(self):
self.stop()

Expand Down
1 change: 0 additions & 1 deletion tests/test_config.py
Expand Up @@ -145,7 +145,6 @@ def test_MuTornadoMon(self, pub_ext_iface_mock, mock_os, mock_ps):

# To make sure no exceptions are thrown
monitor._cb()
# monitor._monkey_patch_ioloop_exceptions()

monitor.__del__()

Expand Down

0 comments on commit 77959dd

Please sign in to comment.