summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-05-15 09:26:29 +0200
committerSébastien Helleu <flashcode@flashtux.org>2016-05-15 09:26:29 +0200
commit1fc274473b99894c4823c224b28072e820502ea8 (patch)
tree18fbe3b86d4e4374d0cb3210ed36de4c87ee8d3a /doc
parent836876bacb8de455e9382da32cf0d06dc977e250 (diff)
downloadweechat-1fc274473b99894c4823c224b28072e820502ea8.zip
doc: remove unused function in docgen.py
Diffstat (limited to 'doc')
-rw-r--r--doc/docgen.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/docgen.py b/doc/docgen.py
index f4c77320e..c4d7011ff 100644
--- a/doc/docgen.py
+++ b/doc/docgen.py
@@ -342,11 +342,6 @@ def get_hdata():
hdata[plugin][hdata_name]['vars'] = variables
hdata[plugin][hdata_name]['vars_update'] = variables_update
- def compate_list_name(name1, name2):
- rc = 1 if name2 > name1 else (-1 if name1 < name2 else 0)
- if name2.startswith('last_'):
- rc *= 1000
-
string = weechat.hdata_get_string(ptr_hdata, 'list_keys')
if string:
list_lists = string.split(',')