refactor some python infra, and don't do shutdown on __del__, it's not prepared for running during teardown

This commit is contained in:
holger krekel
2020-05-24 15:36:20 +02:00
parent 7f4627356b
commit fa3ee4205d
3 changed files with 21 additions and 23 deletions

View File

@@ -67,8 +67,8 @@ class Account(object):
""" re-enable logging. """
self._logging = True
def __del__(self):
self.shutdown()
# def __del__(self):
# self.shutdown()
def log(self, msg):
if self._logging: