Jakub Filak
2013-08-16 12:31:08 UTC
Signed-off-by: Jakub Filak <jfilak-H+wXaHxf7aLQT0dZR+***@public.gmane.org>
---
src/hooks/abrt_harvest_vmcore.py.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/hooks/abrt_harvest_vmcore.py.in b/src/hooks/abrt_harvest_vmcore.py.in
index abdf895..22dad07 100644
--- a/src/hooks/abrt_harvest_vmcore.py.in
+++ b/src/hooks/abrt_harvest_vmcore.py.in
@@ -13,6 +13,7 @@ import StringIO
import shutil
import time
import hashlib
+import problem
# Path to the vmcore directories
CORE_DIR = '/var/crash'
@@ -176,6 +177,8 @@ def harvest_vmcore():
# Get rid of the .new suffix
shutil.move(destdirnew, destdir)
+ problem.notify_new_path(destdir)
+
if __name__ == '__main__':
harvest_vmcore()
---
src/hooks/abrt_harvest_vmcore.py.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/hooks/abrt_harvest_vmcore.py.in b/src/hooks/abrt_harvest_vmcore.py.in
index abdf895..22dad07 100644
--- a/src/hooks/abrt_harvest_vmcore.py.in
+++ b/src/hooks/abrt_harvest_vmcore.py.in
@@ -13,6 +13,7 @@ import StringIO
import shutil
import time
import hashlib
+import problem
# Path to the vmcore directories
CORE_DIR = '/var/crash'
@@ -176,6 +177,8 @@ def harvest_vmcore():
# Get rid of the .new suffix
shutil.move(destdirnew, destdir)
+ problem.notify_new_path(destdir)
+
if __name__ == '__main__':
harvest_vmcore()
--
1.8.3.1
1.8.3.1