Var name, removed unused import, thanks pyflakes
This commit is contained in:
parent
9cbdad9df5
commit
775b85a83e
4 changed files with 2 additions and 5 deletions
|
@ -24,7 +24,7 @@ import sha
|
||||||
import socket
|
import socket
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from time import localtime, strftime, gmtime, timezone
|
from time import localtime, strftime, gmtime
|
||||||
from calendar import timegm
|
from calendar import timegm
|
||||||
|
|
||||||
import socks5
|
import socks5
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
##
|
##
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
import locale
|
import locale
|
||||||
from common import gajim
|
from common import gajim
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,6 @@
|
||||||
|
|
||||||
__all__ = ['get_password', 'save_password']
|
__all__ = ['get_password', 'save_password']
|
||||||
|
|
||||||
import gobject
|
|
||||||
|
|
||||||
from common import gajim
|
from common import gajim
|
||||||
|
|
||||||
USER_HAS_GNOMEKEYRING = False
|
USER_HAS_GNOMEKEYRING = False
|
||||||
|
|
|
@ -594,7 +594,7 @@ class SignalObject(dbus.service.Object):
|
||||||
gajim.connections[acc].send_stanza(xml)
|
gajim.connections[acc].send_stanza(xml)
|
||||||
|
|
||||||
@dbus.service.method(INTERFACE, in_signature='ssss', out_signature='')
|
@dbus.service.method(INTERFACE, in_signature='ssss', out_signature='')
|
||||||
def join_room(self, room_jid, nick, passwd, account):
|
def join_room(self, room_jid, nick, password, account):
|
||||||
if not account:
|
if not account:
|
||||||
# get the first connected account
|
# get the first connected account
|
||||||
accounts = gajim.connections.keys()
|
accounts = gajim.connections.keys()
|
||||||
|
|
Loading…
Add table
Reference in a new issue