diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-05-19 12:34:31 +0200 |
---|---|---|
committer | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-05-19 12:34:31 +0200 |
commit | de2ce69e460e6e6dd2b959bb18707314a16c8887 (patch) | |
tree | 8ed6e4697c72c25fcfac2e6c043c0fabd2f04f35 /src/ogRest.py | |
parent | 28a25918b2452423e753735aed83e13168f51020 (diff) |
Refactor OgQMP and adapt operations
This patch:
- Fixes logic errors in the communication with QMP (the order of handshake
messages was not right).
- Rewrite parts of OgQMP class.
- Enforces better coding practices by using Python's "context managers" to avoid
forgeting an open socket in case exceptions occur.
- Adapt virtual operations to the use of "context managers" using the "with"
statement.
Diffstat (limited to 'src/ogRest.py')
0 files changed, 0 insertions, 0 deletions