core-admin-client/qubesadmin
Marek Marczykowski-Górecki f1424812b0
qvm-template: improve install lock
Use fcntl.flock() instead of just file existence check, so it won't fail
on a stale lock file. While at it, move locking to a function decorator,
to de-clutter the install function a bit. This will allow reducing
indentation level, but don't do it yet, to make the patch readable.

Move lock testing into a separate test, and remove it from install
tests.

2021-02-06 16:03:39 +01:00
..
backup Make pylint happy 2020-08-23 03:31:39 +02:00
events events: implicitly enable caching when creating EventsDispatcher 2020-05-22 19:28:51 +02:00
tests qvm-template: improve install lock 2021-02-06 16:03:39 +01:00
tools qvm-template: improve install lock 2021-02-06 16:03:39 +01:00
vm Make pylint happy 2020-08-23 03:31:39 +02:00
__init__.py
app.py Make pylint happy 2020-08-23 03:31:39 +02:00
base.py Make pylint happy 2020-08-23 03:31:39 +02:00
config.py
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
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