summaryrefslogtreecommitdiff
path: root/apport/shotwell.py
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-07-09 12:10:38 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-07-09 12:10:38 +0200
commit709e2d6f5652ec90c194a4ec2b530bebc6f952cb (patch)
tree496b2f3899e1d5728ee9ae76095cc5056c317447 /apport/shotwell.py
parentf1353e9ffd34db5f755c7da0b3f9c10638fbfd38 (diff)
parent5c8be07095cc04a6d8a95204b0504fd7ab030154 (diff)
Merge branch 'release/0.28.3-1'0.28.3-1
Diffstat (limited to 'apport/shotwell.py')
-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')
+