mirror of
https://github.com/JoinMarket-Org/joinmarket-clientserver.git
synced 2026-08-17 13:07:51 +02:00
22 lines
702 B
Python
22 lines
702 B
Python
from __future__ import print_function
|
|
|
|
import logging
|
|
from protocol import *
|
|
from .enc_wrapper import as_init_encryption, decode_decrypt, \
|
|
encrypt_encode, init_keypair, init_pubkey, get_pubkey, NaclError
|
|
from .irc import IRCMessageChannel, B_PER_SEC
|
|
from base.support import get_log
|
|
from .message_channel import MessageChannel, MessageChannelCollection
|
|
from .orderbookwatch import OrderbookWatch
|
|
from base import commands
|
|
|
|
# Set default logging handler to avoid "No handler found" warnings.
|
|
try:
|
|
from logging import NullHandler
|
|
except ImportError:
|
|
class NullHandler(logging.Handler):
|
|
def emit(self, record):
|
|
pass
|
|
|
|
logging.getLogger(__name__).addHandler(NullHandler())
|
|
|