vm: move comment

Place comment describing self.app near self.app definition.
This commit is contained in:
Marek Marczykowski-Górecki 2017-09-28 02:37:43 +02:00
parent 34125d915b
commit 97e3dced92
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -306,11 +306,12 @@ class BaseVM(qubes.PropertyHolder):
**kwargs): **kwargs):
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
self._qdb_watch_paths = set()
self._qdb_connection_watch = None
# self.app must be set before super().__init__, because some property # self.app must be set before super().__init__, because some property
# setters need working .app attribute # setters need working .app attribute
#: mother :py:class:`qubes.Qubes` object #: mother :py:class:`qubes.Qubes` object
self._qdb_watch_paths = set()
self._qdb_connection_watch = None
self.app = app self.app = app
super(BaseVM, self).__init__(xml, **kwargs) super(BaseVM, self).__init__(xml, **kwargs)