mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-05 06:44:51 +00:00
Cleanup Client class
This commit is contained in:
parent
9c420bb73b
commit
fa7b7d0ce3
1 changed files with 1 additions and 3 deletions
|
|
@ -51,9 +51,6 @@ from .dispatcher import Dispatcher
|
||||||
from .ext import utils, Syncer, BaseClient
|
from .ext import utils, Syncer, BaseClient
|
||||||
from .methods import Methods
|
from .methods import Methods
|
||||||
|
|
||||||
# Custom format for nice looking log lines
|
|
||||||
LOG_FORMAT = "[%(asctime)s.%(msecs)03d] %(filename)s:%(lineno)s %(levelname)s: %(message)s"
|
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -316,6 +313,7 @@ class Client(Methods, BaseClient):
|
||||||
Iterable containing signals the signal handler will listen to.
|
Iterable containing signals the signal handler will listen to.
|
||||||
Defaults to (SIGINT, SIGTERM, SIGABRT).
|
Defaults to (SIGINT, SIGTERM, SIGABRT).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def signal_handler(*args):
|
def signal_handler(*args):
|
||||||
self.is_idle = False
|
self.is_idle = False
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue