From 97e3dced92b3a3776ab99e47714601a14e1b9f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 28 Sep 2017 02:37:43 +0200 Subject: [PATCH] vm: move comment Place comment describing self.app near self.app definition. --- qubes/vm/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qubes/vm/__init__.py b/qubes/vm/__init__.py index 02f1d34a..069d6f2b 100644 --- a/qubes/vm/__init__.py +++ b/qubes/vm/__init__.py @@ -306,11 +306,12 @@ class BaseVM(qubes.PropertyHolder): **kwargs): # 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 # setters need working .app attribute #: mother :py:class:`qubes.Qubes` object - self._qdb_watch_paths = set() - self._qdb_connection_watch = None self.app = app super(BaseVM, self).__init__(xml, **kwargs)