You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
765 B
23 lines
765 B
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 jmbase.support import get_log |
|
from .message_channel import MessageChannel, MessageChannelCollection |
|
from .orderbookwatch import OrderbookWatch |
|
from jmbase import commands |
|
from .daemon_protocol import JMDaemonServerProtocolFactory |
|
|
|
# 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()) |
|
|
|
|