do not use from foo import bar

This commit is contained in:
Nikos Kouremenos 2006-09-29 10:23:20 +00:00
parent 1b0f153e42
commit ca7a1e60e9
1 changed files with 2 additions and 2 deletions

View File

@ -1123,8 +1123,8 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco)
if answer == 'yes':
self.connection.send(iq_obj.buildReply('result'))
elif answer == 'no':
from common.xmpp.protocol import ERR_NOT_AUTHORIZED
err = common.xmpp.Error(iq_obj, ERR_NOT_AUTHORIZED)
err = common.xmpp.Error(iq_obj,
common.xmpp.protocol.ERR_NOT_AUTHORIZED)
self.connection.send(err)
def _HttpAuthCB(self, con, iq_obj):