1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 03:46:39 +02:00

api: do not expect any return value in callbacks change/delete of config_new_option (scripting API)

This commit is contained in:
Sébastien Helleu
2022-10-15 21:46:00 +02:00
parent a1057c9a03
commit 56dbd871ea
12 changed files with 105 additions and 98 deletions
+2 -2
View File
@@ -181,12 +181,12 @@ def option_check_value_cb(data, option, value):
def option_change_cb(data, option):
"""Option change callback."""
return 1
pass
def option_delete_cb(data, option):
"""Option delete callback."""
return 1
pass
def test_config():
+1 -1
View File
@@ -1090,7 +1090,7 @@ class UnparseGuile(UnparsePython):
def _ast_pass(self, node):
"""Add an AST Pass in output."""
pass
self.add('#t')
def _ast_return(self, node):
"""Add an AST Return in output."""