summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Bouthenot <kolter@openics.org>2005-11-04 22:33:26 +0000
committerEmmanuel Bouthenot <kolter@openics.org>2005-11-04 22:33:26 +0000
commit51cacc0fdb0fc491382f1a757a440793b4e120c3 (patch)
treeecb7f2272d762003e711e8bad9574bc5b6bbeea7
parente07859395ff67701f1cebb2911b6d1bd476368b6 (diff)
downloadweechat-51cacc0fdb0fc491382f1a757a440793b4e120c3.zip
remove unused comment
-rw-r--r--src/plugins/scripts/python/weechat-python.c2
-rw-r--r--weechat/src/plugins/scripts/python/weechat-python.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c
index 1f7461e8a..15b8fbdd4 100644
--- a/src/plugins/scripts/python/weechat-python.c
+++ b/src/plugins/scripts/python/weechat-python.c
@@ -887,8 +887,6 @@ weechat_python_unload (t_weechat_plugin *plugin, t_plugin_script *script)
if (script->shutdown_func[0])
weechat_python_exec (plugin, script, script->shutdown_func, "", "");
-
- //PyEval_RestoreThread(script->interpreter);
PyThreadState_Swap (script->interpreter);
Py_EndInterpreter (script->interpreter);
diff --git a/weechat/src/plugins/scripts/python/weechat-python.c b/weechat/src/plugins/scripts/python/weechat-python.c
index 1f7461e8a..15b8fbdd4 100644
--- a/weechat/src/plugins/scripts/python/weechat-python.c
+++ b/weechat/src/plugins/scripts/python/weechat-python.c
@@ -887,8 +887,6 @@ weechat_python_unload (t_weechat_plugin *plugin, t_plugin_script *script)
if (script->shutdown_func[0])
weechat_python_exec (plugin, script, script->shutdown_func, "", "");
-
- //PyEval_RestoreThread(script->interpreter);
PyThreadState_Swap (script->interpreter);
Py_EndInterpreter (script->interpreter);