mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Fix pylint raise-missing-from
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
@@ -299,6 +299,7 @@ class Command(object):
|
||||
dom = conn.defineXML(domxml)
|
||||
dom.undefine()
|
||||
except Exception as e:
|
||||
# pylint: disable=raise-missing-from
|
||||
raise AssertionError("Bad XML:\n%s\n\nError was: %s: %s" %
|
||||
(domxml, e.__class__.__name__, str(e)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user