Verified Commit df95a6ef authored by Karel Koci's avatar Karel Koci 🤘

lists: drop obsolete API

This API is obsolete now for some time. If I am not mistaken then Foris
is now using pkglists API calls so we can drop these.
parent 18540d46
......@@ -99,13 +99,3 @@ def update_pkglists(lists):
with Uci() as uci:
uci.set('updater', 'turris', 'turris')
uci.set('updater', 'turris', 'pkglists', tuple(lists))
def userlists(lang=None):
"""Backward compatibility API. Please use pkglists instead."""
return pkglists(lang)
def update_userlists(lists):
"""Backward compatibility API. Please use update_pkglists instead."""
update_pkglists(lists)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment