Fix missing imports
This commit is contained in:
parent
bd2a3a0e17
commit
9c8a47aa6b
|
@ -34,7 +34,9 @@ don't need to dig up the code itself to write basic commands.
|
||||||
from traceback import print_exc
|
from traceback import print_exc
|
||||||
|
|
||||||
from gi.repository import Pango
|
from gi.repository import Pango
|
||||||
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
|
||||||
from gajim.command_system.framework import CommandProcessor
|
from gajim.command_system.framework import CommandProcessor
|
||||||
from gajim.command_system.errors import CommandError, NoCommandError
|
from gajim.command_system.errors import CommandError, NoCommandError
|
||||||
|
|
|
@ -25,6 +25,8 @@ according to the command properties.
|
||||||
import re
|
import re
|
||||||
from operator import itemgetter
|
from operator import itemgetter
|
||||||
|
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
|
||||||
from gajim.command_system.errors import DefinitionError, CommandError
|
from gajim.command_system.errors import DefinitionError, CommandError
|
||||||
|
|
||||||
# Quite complex piece of regular expression logic to parse options and
|
# Quite complex piece of regular expression logic to parse options and
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from gajim.common import caps_cache
|
from gajim.common import caps_cache
|
||||||
|
from gajim.common.i18n import _
|
||||||
from gajim.common.account import Account
|
from gajim.common.account import Account
|
||||||
from gajim import common
|
from gajim import common
|
||||||
from gajim.common.const import Chatstate
|
from gajim.common.const import Chatstate
|
||||||
|
|
|
@ -25,6 +25,7 @@ import logging
|
||||||
from gi.repository import Gio, GLib
|
from gi.repository import Gio, GLib
|
||||||
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
|
from gajim.common.i18n import _
|
||||||
|
|
||||||
log = logging.getLogger('gajim.logind_listener')
|
log = logging.getLogger('gajim.logind_listener')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue