write_dump now takes two arguments
Signed-off-by: Vratislav Podzimek vpodzime@redhat.com --- tests/pyhook.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/pyhook.at b/tests/pyhook.at index f736e3a..92a23bd 100644 --- a/tests/pyhook.at +++ b/tests/pyhook.at @@ -9,8 +9,8 @@ import sys sys.path.insert(0, "../../../src/hooks") import abrt_exception_handler sys.argv[0]="/...testsuite.../$1.py" -def write_dump(tb): - print tb.splitlines()[0] +def write_dump(tb_text, tb): + print tb_text.splitlines()[0] abrt_exception_handler.write_dump = write_dump $2 ]])
- ack
On 09/26/2012 10:20 AM, Vratislav Podzimek wrote:
write_dump now takes two arguments
Signed-off-by: Vratislav Podzimek vpodzime@redhat.com
tests/pyhook.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/pyhook.at b/tests/pyhook.at index f736e3a..92a23bd 100644 --- a/tests/pyhook.at +++ b/tests/pyhook.at @@ -9,8 +9,8 @@ import sys sys.path.insert(0, "../../../src/hooks") import abrt_exception_handler sys.argv[0]="/...testsuite.../$1.py" -def write_dump(tb):
- print tb.splitlines()[0]
+def write_dump(tb_text, tb):
- print tb_text.splitlines()[0] abrt_exception_handler.write_dump = write_dump $2 ]])
crash-catcher@lists.fedorahosted.org