bareos: master b926f6a1

Author Committer Branch Timestamp Parent
joergs joergs master 2019-08-28 21:04 master 9d8f48a5 Pending
Changeset python-bareos: improve Exception handling

* Raise a SignalReceivedException when a Bareos network signal is received
  (length of the message is set to a negative value).
* Raise a JsonRpcErrorReceivedException when a JSON-RPC error message is received.
* Raise a JsonRpcInvalidJsonReceivedException (inherited from JsonRpcErrorReceivedException)
  when an invalid JSON-RPC message is received (e.g. data is not a valid JSON structure).
* Remove a Python >= 3.4 deprecation warnung.
mod - python-bareos/bareos/bsock/directorconsolejson.py Diff File
mod - python-bareos/bareos/bsock/lowlevel.py Diff File
mod - python-bareos/bareos/exceptions.py Diff File