summaryrefslogtreecommitdiff
path: root/portato/plugins
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-06-23 22:33:20 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-06-23 22:33:20 +0200
commit88d60d9f5082d6dd62778614681638415f25a8d6 (patch)
tree12c4863eed252b23d4ce4675b1a7c33abd2f158b /portato/plugins
parent84ce6de169ab527d8393bfe9da63944c550ee16a (diff)
parent0392a7dcbaa08cbc73e091422bf6f68dbfa8d7f6 (diff)
downloadportato-88d60d9f5082d6dd62778614681638415f25a8d6.tar.gz
portato-88d60d9f5082d6dd62778614681638415f25a8d6.tar.bz2
portato-88d60d9f5082d6dd62778614681638415f25a8d6.zip
Added the possibility to directly mail bugs
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: