Rename variable _PROTO_SYNC to _PROTO_SYNC_CMDS
This commit is contained in:
parent
ae648fd7f6
commit
0feac51b53
@ -53,7 +53,7 @@ _PROTO_INIT_PWD = 'init password=%(password)s%(totp)s\n'
|
|||||||
_PROTO_INIT_HASH = ('init password_hash='
|
_PROTO_INIT_HASH = ('init password_hash='
|
||||||
'%(algo)s:%(salt)s%(iter)s:%(hash)s%(totp)s\n')
|
'%(algo)s:%(salt)s%(iter)s:%(hash)s%(totp)s\n')
|
||||||
|
|
||||||
_PROTO_SYNC = [
|
_PROTO_SYNC_CMDS = [
|
||||||
# get buffers
|
# get buffers
|
||||||
'(listbuffers) hdata buffer:gui_buffers(*) number,full_name,short_name,'
|
'(listbuffers) hdata buffer:gui_buffers(*) number,full_name,short_name,'
|
||||||
'type,nicklist,title,local_variables',
|
'type,nicklist,title,local_variables',
|
||||||
@ -179,7 +179,7 @@ class Network(QtCore.QObject):
|
|||||||
|
|
||||||
def _build_sync_command(self):
|
def _build_sync_command(self):
|
||||||
"""Build the sync commands to send to WeeChat."""
|
"""Build the sync commands to send to WeeChat."""
|
||||||
cmd = '\n'.join(_PROTO_SYNC) + '\n'
|
cmd = '\n'.join(_PROTO_SYNC_CMDS) + '\n'
|
||||||
return cmd % {'lines': self._lines}
|
return cmd % {'lines': self._lines}
|
||||||
|
|
||||||
def handshake_timer_expired(self):
|
def handshake_timer_expired(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user