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

autorun: drop TODOs that are no longer relevant

We are already using EUci so those are obsolete.
parent 49b71790
......@@ -34,7 +34,6 @@ def enabled():
"""
with EUci() as uci:
try:
# TODO use EUci instead of this retype (as this is not perfect)
return uci.get_boolean("updater", "autorun", "enabled")
except UciExceptionNotFound:
# No option means disabled but instead of False we return None to
......@@ -57,7 +56,6 @@ def approvals():
"""
with EUci() as uci:
try:
# TODO use EUci instead of this retype (as this is not perfect)
return uci.get_boolean("updater", "autorun", "approvals")
except UciExceptionNotFound:
return False # No option means disabled
......
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