summaryrefslogtreecommitdiffstats
path: root/libreport/src/report-python/libreport-meh-test.py
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2011-06-13 13:33:30 +0200
committerNikola Pajkovsky <npajkovs@redhat.com>2011-06-13 13:33:30 +0200
commitd09af1b80697c4ed02e420ca89f2675b14b0f47b (patch)
tree2ea2bb66de7ba8c855547f8e14774da44b22d184 /libreport/src/report-python/libreport-meh-test.py
parentae3d2f1e79fb0582cb216ab6d2d7952323a547cd (diff)
downloadabrt-d09af1b80697c4ed02e420ca89f2675b14b0f47b.tar.gz
abrt-d09af1b80697c4ed02e420ca89f2675b14b0f47b.tar.xz
abrt-d09af1b80697c4ed02e420ca89f2675b14b0f47b.zip
move libreport into its own git
ssh://git.fedorahosted.org/git/libreport.git
Diffstat (limited to 'libreport/src/report-python/libreport-meh-test.py')
-rw-r--r--libreport/src/report-python/libreport-meh-test.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/libreport/src/report-python/libreport-meh-test.py b/libreport/src/report-python/libreport-meh-test.py
deleted file mode 100644
index 4ef24834..00000000
--- a/libreport/src/report-python/libreport-meh-test.py
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/env python
-
-from meh.dump import ReverseExceptionDump
-from meh.handler import *
-from meh.ui.gui import *
-
-class Config:
- def __init__(self):
- self.programName = "abrt"
- self.programVersion = "2.0"
- self.attrSkipList = []
- self.fileList = []
- self.config_value_one = 1
- self.config_value_two = 2
-
-
-
-#meh.makeRHHandler("crash-test-meh", "1.0", Config())
-config = Config()
-intf = GraphicalIntf(None)
-handler = ExceptionHandler(config, intf, ReverseExceptionDump)
-handler.install(None)
-
-
-print "handler set up, about to divide by zero"
-
-zero = 0
-print 1 / zero
-
-print "should have crashed"
-