avocado-framework/avocado

View on GitHub
avocado/utils/genio.py

Summary

Maintainability
A
0 mins
Test Coverage
D
61%

The input method in Python 2 will read from standard input, evaluate and run the resulting string as python source code. This is similar, though in many ways worse, then using eval. On Python 2, use raw_input instead, input is safe in Python 3.
Open

    return input(f"{question} (y/n) ")
Severity: Major
Found in avocado/utils/genio.py by bandit

Try, Except, Pass detected.
Open

    except Exception:  # pylint: disable=W0703
Severity: Info
Found in avocado/utils/genio.py by bandit

There are no issues that match your filters.

Category
Status