storage/callback: comments

This commit is contained in:
3hhh 2020-06-30 12:39:55 +02:00
parent a00b2d563a
commit dab41ddcf7
No known key found for this signature in database
GPG Key ID: EB03A691DB2F0833

View File

@ -159,7 +159,7 @@ class CallbackPool(qubes.storage.Pool):
ls /mnt/
ls /mnt/ram/ (should be empty)
```
''' # pylint: disable=protected-access
'''
driver = 'callback'
config_path = '/etc/qubes_callback.json'
@ -173,6 +173,7 @@ class CallbackPool(qubes.storage.Pool):
not to pick easily guessable `conf_id` values for your configuration as untrusted VMs may otherwise
execute callbacks meant for other pools.
'''
#NOTE: attribute names **must** start with `_cb_` unless they are meant to be stored as self._cb_impl attributes
self._cb_ctor_done = False #: Boolean to indicate whether or not `__init__` successfully ran through.
self._cb_log = logging.getLogger('qubes.storage.callback') #: Logger instance.
if not isinstance(conf_id, str):