ogcli/cli/objects
Jose M. Guisado 40bd146377 Fix utils.py
When utils.py was created, moved functions declaration was not kept for
scope_lookup by mistake, in previous commit it was named
'scope_lookup_id'.

ips_in_scope is a function that maps a list of scopes to the list of ips
contained in it, recursively. (if the scope is a room it will gather all
computers ips in that room). Add 'None' check for its scope param,
avoiding duplication of this check in several other objects using this
function.

Also import utils in 'modes' object, which was not added previously.

Fixes: be84b0a ("Add utils.py")
2021-03-30 13:29:06 +02:00
..
__init__.py Rename files to remove 'og' prefix 2020-06-30 12:51:51 +02:00
client.py Print json instead of python dict in responses 2021-03-18 15:40:35 +01:00
modes.py Fix utils.py 2021-03-30 13:29:06 +02:00
scopes.py Print json instead of python dict in responses 2021-03-18 15:40:35 +01:00
wol.py Add WoL sending capability 2021-03-29 13:47:28 +02:00