To simplify get_device_conf.
mlukoshkov opened this issue · comments
- Open & close file inside get_device_entry() function.
- Return conf if get_device_entry() succeeded.
- Remove ent_found variable.
- What will be the return value of
get_device_entry()
when no entry was found? - How to maintain
opened_tabs
in this case?