1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

Rename to _logging the logging module to prevent typos

This commit is contained in:
Steffo 2019-03-25 09:49:21 +01:00
parent 6b1f13c1d8
commit e696a0a90a
3 changed files with 10 additions and 5 deletions

View file

@ -1,11 +1,16 @@
import telegram
import asyncio
import typing
import logging as _logging
from ..commands import NullCommand
from ..utils import asyncify, Call, Command
from ..network import RoyalnetLink, Message
loop = asyncio.get_event_loop()
log = _logging.getLogger(__name__)
async def todo(message: Message):
pass

View file

@ -4,12 +4,12 @@ import uuid
import functools
import typing
import pickle
import logging
import logging as _logging
from .messages import Message, ErrorMessage
from .packages import Package
loop = asyncio.get_event_loop()
log = logging.getLogger(__name__)
log = _logging.getLogger(__name__)
class NotConnectedError(Exception):

View file

@ -5,12 +5,12 @@ import datetime
import pickle
import uuid
import asyncio
import logging
from .messages import Message, ErrorMessage, InvalidPackageEM, InvalidSecretEM, IdentifySuccessfulMessage
import logging as _logging
from .messages import InvalidPackageEM, InvalidSecretEM, IdentifySuccessfulMessage
from .packages import Package
loop = asyncio.get_event_loop()
log = logging.getLogger(__name__)
log = _logging.getLogger(__name__)
class ConnectedClient: