[thorstenp] remove useless ;
This commit is contained in:
parent
2f3e0107ef
commit
98255a0671
|
@ -152,7 +152,7 @@ class ChatControlBase(MessageControl):
|
|||
contact = c
|
||||
|
||||
MessageControl.__init__(self, type_id, parent_win, widget_name,
|
||||
contact, acct, resource = resource);
|
||||
contact, acct, resource = resource)
|
||||
|
||||
widget = self.xml.get_widget('history_button')
|
||||
id = widget.connect('clicked', self._on_history_menuitem_activate)
|
||||
|
@ -956,7 +956,7 @@ class ChatControlBase(MessageControl):
|
|||
conv_buf.set_text(self.sent_history[self.sent_history_pos])
|
||||
elif direction == 'down':
|
||||
if self.sent_history_pos >= size - 1:
|
||||
conv_buf.set_text(self.orig_msg);
|
||||
conv_buf.set_text(self.orig_msg)
|
||||
self.orig_msg = None
|
||||
self.sent_history_pos = size
|
||||
return
|
||||
|
|
|
@ -1414,7 +1414,7 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
|
|||
method = iq_obj.getTagAttr('confirm', 'method')
|
||||
url = iq_obj.getTagAttr('confirm', 'url')
|
||||
msg = iq_obj.getTagData('body') # In case it's a message with a body
|
||||
self.dispatch('HTTP_AUTH', (method, url, id, iq_obj, msg));
|
||||
self.dispatch('HTTP_AUTH', (method, url, id, iq_obj, msg))
|
||||
raise common.xmpp.NodeProcessed
|
||||
|
||||
def _ErrorCB(self, con, iq_obj):
|
||||
|
@ -1518,7 +1518,7 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
|
|||
iq_obj = iq_obj.buildReply('result')
|
||||
qp = iq_obj.getTag('query')
|
||||
if not HAS_IDLE:
|
||||
qp.attrs['seconds'] = '0';
|
||||
qp.attrs['seconds'] = '0'
|
||||
else:
|
||||
qp.attrs['seconds'] = idle.getIdleSec()
|
||||
|
||||
|
|
|
@ -708,7 +708,7 @@ class Logger:
|
|||
# the data field contains binary object (gzipped data), this is a hack
|
||||
# to get that data without trying to convert it to unicode
|
||||
try:
|
||||
self.cur.execute('SELECT hash_method, hash, data FROM caps_cache;');
|
||||
self.cur.execute('SELECT hash_method, hash, data FROM caps_cache;')
|
||||
except sqlite.OperationalError:
|
||||
# might happen when there's no caps_cache table yet
|
||||
# -- there's no data to read anyway then
|
||||
|
|
|
@ -94,7 +94,7 @@ class ZeroconfListener(IdleObject):
|
|||
entry = self.conn_holder.getRoster().getItem(jid)
|
||||
if (entry['address'] == ipaddr):
|
||||
from_jid = jid
|
||||
break;
|
||||
break
|
||||
P2PClient(sock[0], ipaddr, sock[1][1], self.conn_holder, [], from_jid)
|
||||
|
||||
def disconnect(self):
|
||||
|
|
|
@ -175,7 +175,7 @@ class GroupchatControl(ChatControlBase):
|
|||
|
||||
def __init__(self, parent_win, contact, acct, is_continued=False):
|
||||
ChatControlBase.__init__(self, self.TYPE_ID, parent_win,
|
||||
'muc_child_vbox', contact, acct);
|
||||
'muc_child_vbox', contact, acct)
|
||||
|
||||
self.is_continued=is_continued
|
||||
self.is_anonymous = True
|
||||
|
|
Loading…
Reference in New Issue