From e1a6fb2859b6b92ae7155c926b57e5d369995f7b Mon Sep 17 00:00:00 2001 From: Wojtek Porczyk Date: Fri, 14 Nov 2014 15:41:27 +0100 Subject: [PATCH] core3 move: class QubesException --- core/qubes.py | 3 --- qubes/__init__.py | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/qubes.py b/core/qubes.py index 8f814709..107c285f 100755 --- a/core/qubes.py +++ b/core/qubes.py @@ -125,9 +125,6 @@ defaults = { qubes_max_qid = 254 qubes_max_netid = 254 -class QubesException (Exception): - pass - class QubesVMMConnection(object): def __init__(self): self._libvirt_conn = None diff --git a/qubes/__init__.py b/qubes/__init__.py index 513b351b..db4b724d 100644 --- a/qubes/__init__.py +++ b/qubes/__init__.py @@ -10,3 +10,7 @@ __version__ = 'R3' import qubes._pluginloader +class QubesException(Exception): + '''Exception that can be shown to the user''' + pass +