core-admin-client/qubesadmin
Marek Marczykowski-Górecki 5cf08b5b03
Uniformly handle QubesVMNotFoundError when accessing a property
If domain was just removed, it the qrexec call may result in a
QubesVMNotFoundError exception. If it was removed earlier, and the
caller is in connecting via qrexec, the call will be rejected at the
policy level. Treat both situations uniformely - with
QubesPropertyAccessError. This allows using convenient `getattr()` to
define placeholder value (if appropriate), or try/except with a single
exception instead of two.

QubesOS/qubes-issues#5105
2021-05-22 13:15:43 +02:00
..
backup backup: throttle backup extracting if there is not enough disk space 2021-01-05 04:46:12 +01:00
events events: implicitly enable caching when creating EventsDispatcher 2020-05-22 19:28:51 +02:00
tests qvm-template: fix installing already cached templates 2021-04-02 03:50:11 +02:00
tools Fix gui-daemon cleanup 2021-05-22 13:02:40 +02:00
vm Make pylint happy 2020-08-23 03:31:39 +02:00
__init__.py Choose QubesLocal or QubesRemote based on /etc/qubes-release presence 2017-07-18 01:58:33 +02:00
app.py Make pylint happy 2020-08-23 03:31:39 +02:00
base.py Uniformly handle QubesVMNotFoundError when accessing a property 2021-05-22 13:15:43 +02:00
config.py tools: add qvm-template-postprocess 2017-05-26 01:33:43 +02:00
devices.py Make pylint happy 2020-08-23 03:31:39 +02:00
exc.py Make pylint happy 2020-08-23 03:31:39 +02:00
features.py Make pylint happy 2020-08-23 03:31:39 +02:00
firewall.py Make pylint happy 2020-08-23 03:31:39 +02:00
label.py Make pylint happy 2020-08-23 03:31:39 +02:00
log.py Drop log.DBusHandler 2017-10-16 01:33:03 +02:00
spinner.py Make pylint happy 2020-08-23 03:31:39 +02:00
storage.py Cleanup Admin API denial reporting 2020-08-11 02:06:42 +02:00
tags.py Make pylint happy 2020-08-23 03:31:39 +02:00
utils.py Merge remote-tracking branch 'origin/pr/156' 2020-08-11 18:41:55 +02:00