summaryrefslogtreecommitdiff
path: root/apport
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 09:06:59 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 09:06:59 +0200
commit4ea2cc3bd4a7d9b1c54a9d33e6a1cf82e7c8c21d (patch)
treed2e54377d14d604356c86862a326f64ae64dadd6 /apport
Imported Upstream version 0.18.1upstream/0.18.1
Diffstat (limited to 'apport')
-rw-r--r--apport/shotwell.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/apport/shotwell.py b/apport/shotwell.py
new file mode 100644
index 0000000..a6a0183
--- /dev/null
+++ b/apport/shotwell.py
@@ -0,0 +1,7 @@
+import os.path
+import apport.hookutils
+
+def add_info(report):
+ log_file = os.path.expanduser('~/.cache/shotwell/shotwell.log')
+ apport.hookutils.attach_file_if_exists(report, log_file, 'shotwell.log')
+