From: Sébastien Helleu Date: Sun, 14 Nov 2021 17:56:48 +0000 (+0100) Subject: Rename variable _PROTO_SYNC to _PROTO_SYNC_CMDS X-Git-Url: https://jfr.im/git/irc/weechat/qweechat.git/commitdiff_plain/0feac51b53b3f47c5e60f5f1f53d496bc70b11c9?ds=inline Rename variable _PROTO_SYNC to _PROTO_SYNC_CMDS --- diff --git a/qweechat/network.py b/qweechat/network.py index e865702..f665c22 100644 --- a/qweechat/network.py +++ b/qweechat/network.py @@ -53,7 +53,7 @@ _PROTO_INIT_PWD = 'init password=%(password)s%(totp)s\n' _PROTO_INIT_HASH = ('init password_hash=' '%(algo)s:%(salt)s%(iter)s:%(hash)s%(totp)s\n') -_PROTO_SYNC = [ +_PROTO_SYNC_CMDS = [ # get buffers '(listbuffers) hdata buffer:gui_buffers(*) number,full_name,short_name,' 'type,nicklist,title,local_variables', @@ -179,7 +179,7 @@ class Network(QtCore.QObject): def _build_sync_command(self): """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} def handshake_timer_expired(self):