From 1fc274473b99894c4823c224b28072e820502ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 15 May 2016 09:26:29 +0200 Subject: doc: remove unused function in docgen.py --- doc/docgen.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'doc') 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(',') -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0