do not use from foo import bar
This commit is contained in:
parent
1b0f153e42
commit
ca7a1e60e9
|
@ -1123,8 +1123,8 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco)
|
||||||
if answer == 'yes':
|
if answer == 'yes':
|
||||||
self.connection.send(iq_obj.buildReply('result'))
|
self.connection.send(iq_obj.buildReply('result'))
|
||||||
elif answer == 'no':
|
elif answer == 'no':
|
||||||
from common.xmpp.protocol import ERR_NOT_AUTHORIZED
|
err = common.xmpp.Error(iq_obj,
|
||||||
err = common.xmpp.Error(iq_obj, ERR_NOT_AUTHORIZED)
|
common.xmpp.protocol.ERR_NOT_AUTHORIZED)
|
||||||
self.connection.send(err)
|
self.connection.send(err)
|
||||||
|
|
||||||
def _HttpAuthCB(self, con, iq_obj):
|
def _HttpAuthCB(self, con, iq_obj):
|
||||||
|
|
Loading…
Reference in New Issue