summaryrefslogtreecommitdiff
path: root/portato/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'portato/plugins')
-rw-r--r--portato/plugins/exception.py2
-rw-r--r--portato/plugins/new_version.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/portato/plugins/exception.py b/portato/plugins/exception.py
new file mode 100644
index 0000000..64bdb77
--- /dev/null
+++ b/portato/plugins/exception.py
@@ -0,0 +1,2 @@
+def throw (*args, **kwargs):
+ raise Exception, "As requested, Sir!"
diff --git a/portato/plugins/new_version.py b/portato/plugins/new_version.py
index 462d67c..fe69292 100644
--- a/portato/plugins/new_version.py
+++ b/portato/plugins/new_version.py
@@ -7,7 +7,7 @@ import gobject
from portato.helper import debug, warning
from portato import get_listener
from portato.constants import VERSION, APP_ICON, APP
-from portato.gui.exception_handling import GtkThread
+from portato.gui.utils import GtkThread
def find_version (rev):
try: