Remove unused imports
This commit is contained in:
parent
4968fe39e2
commit
e419f75217
1 changed files with 3 additions and 9 deletions
|
@ -27,24 +27,17 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
|
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import os
|
|
||||||
import socket
|
import socket
|
||||||
import random
|
import getpass
|
||||||
random.seed()
|
|
||||||
|
|
||||||
import nbxmpp
|
import nbxmpp
|
||||||
|
|
||||||
import signal
|
|
||||||
if os.name != 'nt':
|
|
||||||
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
|
|
||||||
import getpass
|
|
||||||
from gi.repository import GLib
|
from gi.repository import GLib
|
||||||
|
|
||||||
from gajim.common.connection import CommonConnection
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim.common import ged
|
from gajim.common import ged
|
||||||
from gajim.common import modules
|
from gajim.common import modules
|
||||||
from gajim.common.i18n import _
|
from gajim.common.i18n import _
|
||||||
|
from gajim.common.connection import CommonConnection
|
||||||
from gajim.common.zeroconf import client_zeroconf
|
from gajim.common.zeroconf import client_zeroconf
|
||||||
from gajim.common.zeroconf import zeroconf
|
from gajim.common.zeroconf import zeroconf
|
||||||
from gajim.common.zeroconf.connection_handlers_zeroconf import *
|
from gajim.common.zeroconf.connection_handlers_zeroconf import *
|
||||||
|
@ -52,6 +45,7 @@ from gajim.common.connection_handlers_events import *
|
||||||
|
|
||||||
log = logging.getLogger('gajim.c.connection_zeroconf')
|
log = logging.getLogger('gajim.c.connection_zeroconf')
|
||||||
|
|
||||||
|
|
||||||
class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf):
|
class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf):
|
||||||
def __init__(self, name):
|
def __init__(self, name):
|
||||||
ConnectionHandlersZeroconf.__init__(self)
|
ConnectionHandlersZeroconf.__init__(self)
|
||||||
|
|
Loading…
Add table
Reference in a new issue