Merge lp:~verterok/unity-scope-yahoostock/use-new-style-unicode into lp:unity-scope-yahoostock

Proposed by Guillermo Gonzalez
Status: Merged
Approved by: James Henstridge
Approved revision: 50
Merged at revision: 50
Proposed branch: lp:~verterok/unity-scope-yahoostock/use-new-style-unicode
Merge into: lp:unity-scope-yahoostock
Diff against target: 59 lines (+12/-12)
1 file modified
src/unity_yahoostock_daemon.py (+12/-12)
To merge this branch: bzr merge lp:~verterok/unity-scope-yahoostock/use-new-style-unicode
Reviewer Review Type Date Requested Status
James Henstridge Approve
PS Jenkins bot (community) continuous-integration Approve
David Callé Approve
Review via email: mp+165240@code.launchpad.net

Commit message

Remove u"" usage for unicode literals, in order to support python3.2 (required for the server side scope runner)

Description of the change

Remove u"" usage for unicode literals, in order to support python3.2 (required for the server side scope runner)

To post a comment you must log in.
Revision history for this message
David Callé (davidc3) wrote :

LGTM +1

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
James Henstridge (jamesh) wrote :

Looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/unity_yahoostock_daemon.py'
2--- src/unity_yahoostock_daemon.py 2013-04-28 00:30:39 +0000
3+++ src/unity_yahoostock_daemon.py 2013-05-22 20:18:48 +0000
4@@ -3,16 +3,16 @@
5
6 # Copyright (C) 2013 David Callé <davidc@framli.eu>
7 # Copyright (C) 2012 Matt Fischer <matthew.fischer@canonical.com>
8-# This program is free software: you can redistribute it and/or modify it
9-# under the terms of the GNU General Public License version 3, as published
10+# This program is free software: you can redistribute it and/or modify it
11+# under the terms of the GNU General Public License version 3, as published
12 # by the Free Software Foundation.
13-#
14-# This program is distributed in the hope that it will be useful, but
15-# WITHOUT ANY WARRANTY; without even the implied warranties of
16-# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
17+#
18+# This program is distributed in the hope that it will be useful, but
19+# WITHOUT ANY WARRANTY; without even the implied warranties of
20+# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
21 # PURPOSE. See the GNU General Public License for more details.
22-#
23-# You should have received a copy of the GNU General Public License along
24+#
25+# You should have received a copy of the GNU General Public License along
26 # with this program. If not, see <http://www.gnu.org/licenses/>.
27
28 from gi.repository import Unity, UnityExtras
29@@ -47,7 +47,7 @@
30 'name' :_('Quotes'),
31 'icon' :SVG_DIR+'group-installed.svg',
32 'renderer':Unity.CategoryRenderer.HORIZONTAL_TILE}
33-c2 = {'id' :'top',
34+c2 = {'id' :'top',
35 'name' :_('Headlines'),
36 'icon' :SVG_DIR+'group-installed.svg',
37 'renderer':Unity.CategoryRenderer.HORIZONTAL_TILE}
38@@ -325,10 +325,10 @@
39 else:
40 trend = trends[0]
41 if trend.startswith('-'):
42- change_arrow = u"\u2B0A"
43+ change_arrow = "\u2B0A"
44 trend = '%s %s' % (change_arrow, trend[1:])
45 else:
46- change_arrow = u"\u2B08"
47+ change_arrow = "\u2B08"
48 trend = '%s %s' % (change_arrow, trend[1:])
49 preview.add_info(Unity.InfoHint.new("evolution", _("Evolution"), None, trend))
50 preview.add_info(Unity.InfoHint.new("value", _("Value"), None, value))
51@@ -377,7 +377,7 @@
52 '''
53 fs = Unity.FilterSet.new ()
54 # if FILTERS:
55-#
56+#
57 return fs
58
59 def do_get_group_name (self):

Subscribers

People subscribed via source and target branches