diff options
author | Cole Robinson <crobinso@redhat.com> | 2018-03-17 16:08:20 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2018-03-17 18:46:39 -0400 |
commit | 3c1e0a8a12e54e45c99f09596192c13bb76a2c47 (patch) | |
tree | 84d32da0436e74b8892bab8e7065ae38f792b9ad /virtManager/migrate.py | |
parent | 7ad15769dc794b4330854f0bfe21318c28731d87 (diff) | |
download | virt-manager-3c1e0a8a12e54e45c99f09596192c13bb76a2c47.tar.gz |
virtManager/*: Give pylint hints about singleton classes
It can't seem to figure out that what 'cls' is in this context,
so make it explicit.
Diffstat (limited to 'virtManager/migrate.py')
-rw-r--r-- | virtManager/migrate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virtManager/migrate.py b/virtManager/migrate.py index 9d180966..7d13f3dd 100644 --- a/virtManager/migrate.py +++ b/virtManager/migrate.py @@ -45,7 +45,7 @@ class vmmMigrateDialog(vmmGObjectUI): def show_instance(cls, parentobj, vm): try: if not cls._instance: - cls._instance = cls() + cls._instance = vmmMigrateDialog() cls._instance.show(parentobj.topwin, vm) except Exception as e: parentobj.err.show_err( |