Added an integer cast to fix a cython compilation error, Fixed a comment
typo, removed duplicated include.
Signed-off-by: Bruno Abinader <bruno.abinader@openbossa.org>
message = None
# FIXME: Maybe we need add more purple flags in the future
message = None
# FIXME: Maybe we need add more purple flags in the future
- if flags & conversation.PURPLE_MESSAGE_SEND:
+ if (<int>flags & conversation.PURPLE_MESSAGE_SEND):
flag = "SEND"
else:
flag = "RECV"
flag = "SEND"
else:
flag = "RECV"
"request": request_cbs }[type][name] = callback
def signal_connect(self, name=None, cb=None):
"request": request_cbs }[type][name] = callback
def signal_connect(self, name=None, cb=None):
- '''Connects a signal handler to a signal for a particular object.
+ '''Connects a signal handler to a callback for a particular object.
Take care not to register a handler function twice. Purple will
not correct any mistakes for you in this area.
Take care not to register a handler function twice. Purple will
not correct any mistakes for you in this area.
include "protocol.pyx"
#include "plugin.pyx"
include "proxy.pyx"
include "protocol.pyx"
#include "plugin.pyx"
include "proxy.pyx"
include "account.pyx"
include "buddy.pyx"
#include "connection.pyx"
include "account.pyx"
include "buddy.pyx"
#include "connection.pyx"