Fix const imports
This commit is contained in:
parent
4f2033faff
commit
4c1bfda48d
|
@ -44,13 +44,12 @@ from gajim.common import ged
|
||||||
from gajim.common import i18n
|
from gajim.common import i18n
|
||||||
from gajim.common.stanza_session import EncryptedStanzaSession, ArchivingStanzaSession
|
from gajim.common.stanza_session import EncryptedStanzaSession, ArchivingStanzaSession
|
||||||
from gajim.common.contacts import GC_Contact
|
from gajim.common.contacts import GC_Contact
|
||||||
from gajim.common.logger import KindConstant
|
|
||||||
from nbxmpp.protocol import NS_XHTML, NS_XHTML_IM, NS_FILE, NS_MUC
|
from nbxmpp.protocol import NS_XHTML, NS_XHTML_IM, NS_FILE, NS_MUC
|
||||||
from nbxmpp.protocol import NS_JINGLE_RTP_AUDIO, NS_JINGLE_RTP_VIDEO
|
from nbxmpp.protocol import NS_JINGLE_RTP_AUDIO, NS_JINGLE_RTP_VIDEO
|
||||||
from nbxmpp.protocol import NS_JINGLE_ICE_UDP, NS_JINGLE_FILE_TRANSFER_5
|
from nbxmpp.protocol import NS_JINGLE_ICE_UDP, NS_JINGLE_FILE_TRANSFER_5
|
||||||
from nbxmpp.protocol import NS_CHATSTATES
|
from nbxmpp.protocol import NS_CHATSTATES
|
||||||
from gajim.common.connection_handlers_events import MessageOutgoingEvent
|
from gajim.common.connection_handlers_events import MessageOutgoingEvent
|
||||||
from gajim.common.const import AvatarSize
|
from gajim.common.const import AvatarSize, KindConstant
|
||||||
|
|
||||||
from gajim.command_system.implementation.hosts import ChatCommands
|
from gajim.command_system.implementation.hosts import ChatCommands
|
||||||
from gajim.chat_control_base import ChatControlBase
|
from gajim.chat_control_base import ChatControlBase
|
||||||
|
|
|
@ -24,7 +24,7 @@ from gajim import dialogs
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim.common import helpers
|
from gajim.common import helpers
|
||||||
from gajim.common.exceptions import GajimGeneralException
|
from gajim.common.exceptions import GajimGeneralException
|
||||||
from gajim.common.logger import KindConstant
|
from gajim.common.const import KindConstant
|
||||||
|
|
||||||
from gajim.command_system.errors import CommandError
|
from gajim.command_system.errors import CommandError
|
||||||
from gajim.command_system.framework import CommandContainer, command, doc
|
from gajim.command_system.framework import CommandContainer, command, doc
|
||||||
|
|
|
@ -60,6 +60,7 @@ from gajim.common.connection_handlers_events import *
|
||||||
from gajim.common import ged
|
from gajim.common import ged
|
||||||
from gajim.common import nec
|
from gajim.common import nec
|
||||||
from gajim.common.nec import NetworkEvent
|
from gajim.common.nec import NetworkEvent
|
||||||
|
from gajim.common.const import KindConstant
|
||||||
|
|
||||||
from gajim.common.jingle import ConnectionJingle
|
from gajim.common.jingle import ConnectionJingle
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ from gajim.common import app
|
||||||
from gajim.common import i18n
|
from gajim.common import i18n
|
||||||
from gajim.common import dataforms
|
from gajim.common import dataforms
|
||||||
from gajim.common.zeroconf.zeroconf import Constant
|
from gajim.common.zeroconf.zeroconf import Constant
|
||||||
from gajim.common.logger import KindConstant
|
from gajim.common.const import KindConstant
|
||||||
from gajim.common.pep import SUPPORTED_PERSONAL_USER_EVENTS
|
from gajim.common.pep import SUPPORTED_PERSONAL_USER_EVENTS
|
||||||
from gajim.common.jingle_transport import JingleTransportSocks5
|
from gajim.common.jingle_transport import JingleTransportSocks5
|
||||||
from gajim.common.file_props import FilesProp
|
from gajim.common.file_props import FilesProp
|
||||||
|
|
|
@ -26,8 +26,7 @@ import nbxmpp
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim.common import ged
|
from gajim.common import ged
|
||||||
from gajim.common import helpers
|
from gajim.common import helpers
|
||||||
from gajim.common.logger import KindConstant, JIDConstant
|
from gajim.common.const import ArchiveState, JIDConstant
|
||||||
from gajim.common.const import ArchiveState
|
|
||||||
from gajim.common.caps_cache import muc_caps_cache
|
from gajim.common.caps_cache import muc_caps_cache
|
||||||
import gajim.common.connection_handlers_events as ev
|
import gajim.common.connection_handlers_events as ev
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,8 @@ if is_standalone():
|
||||||
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim import gtkgui_helpers
|
from gajim import gtkgui_helpers
|
||||||
from gajim.common.logger import LOG_DB_PATH, JIDConstant, KindConstant
|
from gajim.common.logger import LOG_DB_PATH
|
||||||
|
from gajim.common.const import JIDConstant, KindConstant
|
||||||
from gajim.common import helpers
|
from gajim.common import helpers
|
||||||
from gajim import dialogs
|
from gajim import dialogs
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ from gajim.common import app
|
||||||
from gajim.common import helpers
|
from gajim.common import helpers
|
||||||
from gajim.common import exceptions
|
from gajim.common import exceptions
|
||||||
|
|
||||||
from gajim.common.logger import ShowConstant, KindConstant
|
from gajim.common.const import ShowConstant, KindConstant
|
||||||
|
|
||||||
@unique
|
@unique
|
||||||
class InfoColumn(IntEnum):
|
class InfoColumn(IntEnum):
|
||||||
|
|
|
@ -30,7 +30,7 @@ from gajim.common import contacts
|
||||||
from gajim.common import ged
|
from gajim.common import ged
|
||||||
from gajim.common.connection_handlers_events import ChatstateReceivedEvent, \
|
from gajim.common.connection_handlers_events import ChatstateReceivedEvent, \
|
||||||
InformationEvent
|
InformationEvent
|
||||||
from gajim.common.logger import KindConstant
|
from gajim.common.const import KindConstant
|
||||||
from gajim import message_control
|
from gajim import message_control
|
||||||
from gajim import notify
|
from gajim import notify
|
||||||
from gajim import dialogs
|
from gajim import dialogs
|
||||||
|
|
Loading…
Reference in New Issue