Merge lp:~matttbe/ubuntu/quantal/indicator-applet/lp1013171 into lp:ubuntu/quantal/indicator-applet

Proposed by Matthieu Baerts
Status: Merged
Merge reported by: Sebastien Bacher
Merged at revision: not available
Proposed branch: lp:~matttbe/ubuntu/quantal/indicator-applet/lp1013171
Merge into: lp:ubuntu/quantal/indicator-applet
Diff against target: 48 lines (+13/-2)
3 files modified
debian/changelog (+9/-0)
debian/control (+2/-1)
debian/source_indicator-applet.py (+2/-1)
To merge this branch: bzr merge lp:~matttbe/ubuntu/quantal/indicator-applet/lp1013171
Reviewer Review Type Date Requested Status
Ubuntu Sponsors Pending
Indicator Applet Developers Pending
Review via email: mp+113082@code.launchpad.net

Description of the change

Hello Indicator-Applet team,

This is just a patch to update apport hook for python3.
I set you as reviewer but I can add ubuntu-sponsors team if you want ;)

Regards,

Matt

To post a comment you must log in.
53. By Matthieu Baerts

* debian/control:
 - Added python3-xdg as new dependence (needed by its apport hook)

54. By Matthieu Baerts

Apport Hook: Added 'from __future__ import print_function' to be compatible with python 2

Revision history for this message
Matthieu Baerts (matttbe) wrote :

python3-xdg is now available, we can still use 'from xdg.BaseDirectory import xdg_cache_home' but now python3-xdg is needed.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-04-04 14:40:07 +0000
3+++ debian/changelog 2012-07-05 15:17:17 +0000
4@@ -1,3 +1,12 @@
5+indicator-applet (0.5.0-0ubuntu2) UNRELEASED; urgency=low
6+
7+ * debian/source_indicator-applet.py:
8+ - Update apport hook for python3 (LP: #1013171)
9+ * debian/control:
10+ - Added python3-xdg as new dependence (needed by its apport hook)
11+
12+ -- Matthieu Baerts (matttbe) <matttbe@gmail.com> Mon, 02 Jul 2012 19:22:45 +0200
13+
14 indicator-applet (0.5.0-0ubuntu1) precise; urgency=low
15
16 * New upstream release.
17
18=== modified file 'debian/control'
19--- debian/control 2012-03-16 09:59:10 +0000
20+++ debian/control 2012-07-05 15:17:17 +0000
21@@ -22,7 +22,8 @@
22 Package: indicator-applet
23 Architecture: any
24 Depends: ${shlibs:Depends},
25- ${misc:Depends}
26+ ${misc:Depends},
27+ python3-xdg
28 Recommends: indicator-messages,
29 indicator-sound,
30 indicator-application
31
32=== modified file 'debian/source_indicator-applet.py'
33--- debian/source_indicator-applet.py 2011-03-16 09:52:58 +0000
34+++ debian/source_indicator-applet.py 2012-07-05 15:17:17 +0000
35@@ -1,3 +1,4 @@
36+from __future__ import print_function
37 import os.path
38 from apport.hookutils import *
39 from xdg.BaseDirectory import xdg_cache_home
40@@ -35,7 +36,7 @@
41 if response[0] == 8: # the issue is with indicator-application
42 report.add_package_info("indicator-application")
43 except:
44- print 'Unfortunately, that package is not installed. Please refer to https://wiki.ubuntu.com/Bugs/FindRightPackage'
45+ print('Unfortunately, that package is not installed. Please refer to https://wiki.ubuntu.com/Bugs/FindRightPackage')
46
47 attach_file_if_exists(report, APPLET_LOG, 'indicator-applet.log')
48 attach_file_if_exists(report, APPLET_SESSION_LOG, 'indicator-applet-session.log')

Subscribers

People subscribed via source and target branches