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
=== modified file 'debian/changelog'
--- debian/changelog 2012-04-04 14:40:07 +0000
+++ debian/changelog 2012-07-05 15:17:17 +0000
@@ -1,3 +1,12 @@
1indicator-applet (0.5.0-0ubuntu2) UNRELEASED; urgency=low
2
3 * debian/source_indicator-applet.py:
4 - Update apport hook for python3 (LP: #1013171)
5 * debian/control:
6 - Added python3-xdg as new dependence (needed by its apport hook)
7
8 -- Matthieu Baerts (matttbe) <matttbe@gmail.com> Mon, 02 Jul 2012 19:22:45 +0200
9
1indicator-applet (0.5.0-0ubuntu1) precise; urgency=low10indicator-applet (0.5.0-0ubuntu1) precise; urgency=low
211
3 * New upstream release.12 * New upstream release.
413
=== modified file 'debian/control'
--- debian/control 2012-03-16 09:59:10 +0000
+++ debian/control 2012-07-05 15:17:17 +0000
@@ -22,7 +22,8 @@
22Package: indicator-applet22Package: indicator-applet
23Architecture: any23Architecture: any
24Depends: ${shlibs:Depends},24Depends: ${shlibs:Depends},
25 ${misc:Depends}25 ${misc:Depends},
26 python3-xdg
26Recommends: indicator-messages,27Recommends: indicator-messages,
27 indicator-sound,28 indicator-sound,
28 indicator-application29 indicator-application
2930
=== modified file 'debian/source_indicator-applet.py'
--- debian/source_indicator-applet.py 2011-03-16 09:52:58 +0000
+++ debian/source_indicator-applet.py 2012-07-05 15:17:17 +0000
@@ -1,3 +1,4 @@
1from __future__ import print_function
1import os.path2import os.path
2from apport.hookutils import *3from apport.hookutils import *
3from xdg.BaseDirectory import xdg_cache_home4from xdg.BaseDirectory import xdg_cache_home
@@ -35,7 +36,7 @@
35 if response[0] == 8: # the issue is with indicator-application36 if response[0] == 8: # the issue is with indicator-application
36 report.add_package_info("indicator-application")37 report.add_package_info("indicator-application")
37 except:38 except:
38 print 'Unfortunately, that package is not installed. Please refer to https://wiki.ubuntu.com/Bugs/FindRightPackage'39 print('Unfortunately, that package is not installed. Please refer to https://wiki.ubuntu.com/Bugs/FindRightPackage')
3940
40 attach_file_if_exists(report, APPLET_LOG, 'indicator-applet.log')41 attach_file_if_exists(report, APPLET_LOG, 'indicator-applet.log')
41 attach_file_if_exists(report, APPLET_SESSION_LOG, 'indicator-applet-session.log')42 attach_file_if_exists(report, APPLET_SESSION_LOG, 'indicator-applet-session.log')

Subscribers

People subscribed via source and target branches