1
0
mirror of https://github.com/jtesta/ssh-audit.git synced 2025-07-07 06:22:50 -05:00
Commit Graph

1 Commits

Author SHA1 Message Date
bf1fbbfa43 Fix RuntimeError for the JSON export (#44)
* Fix RuntimeError for the JSON export

It is never a good idea to modify an iterable while iterating over it.

Copying the iterable fixes #41

modified:   ssh-audit.py

* Add test case for #41

new file:   test/test_build_struct.py

* Fix linting error

modified:   test/test_build_struct.py
2020-07-03 14:56:46 -04:00