From: Yegor Yefremov
Remove unused imports and fix import sorting using isort utility.
---
examples/modem-watcher-python/ModemWatcher.py | 6 +++---
examples/modem-watcher-python/modem-watcher-python | 6 --
examples/network-scan-python/network-scan-python | 6 --
On Sat, Feb 13, 2021 at 9:40 AM wrote:
>
> From: Yegor Yefremov
>
> Remove unused imports and fix import sorting using isort utility.
> ---
> examples/modem-watcher-python/ModemWatcher.py | 6 +++---
> examples/modem-watcher-python/modem-watcher-python | 6 --
>
From: Yegor Yefremov
Otherwise we get the following exception:
Traceback (most recent call last):
File "/root/network-scan-python", line 57, in
networks = modem3gpp.scan_sync()
gi.repository.GLib.Error: mm_core_error_quark:
From: Yegor Yefremov
Use autopep8 utility to resolve issues like spaces before brackets
and wrong hanging indentation.
Also treat objects like boolean variables to check whether they are
None or not.
---
.../network-scan-python/network-scan-python | 24 +++
1 file changed, 14