Merge lp:~mhr3/unity-lens-video/fix-1056091 into lp:unity-lens-video/remote-videos-scope-trunk

Proposed by Michal Hruby
Status: Merged
Approved by: Paweł Stołowski
Approved revision: 60
Merged at revision: 60
Proposed branch: lp:~mhr3/unity-lens-video/fix-1056091
Merge into: lp:unity-lens-video/remote-videos-scope-trunk
Diff against target: 12 lines (+1/-1)
1 file modified
src/unity-scope-video-remote (+1/-1)
To merge this branch: bzr merge lp:~mhr3/unity-lens-video/fix-1056091
Reviewer Review Type Date Requested Status
Paweł Stołowski (community) Approve
Review via email: mp+126214@code.launchpad.net

Commit message

Fix incorrect usage of is operator

Description of the change

Fix incorrect usage of is operator.

To post a comment you must log in.
Revision history for this message
Paweł Stołowski (stolowski) wrote :

Looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/unity-scope-video-remote'
--- src/unity-scope-video-remote 2012-09-14 10:41:18 +0000
+++ src/unity-scope-video-remote 2012-09-25 10:45:58 +0000
@@ -235,7 +235,7 @@
235 price_key = 'formatted_price'235 price_key = 'formatted_price'
236 if price_key in i:236 if price_key in i:
237 price = i[price_key]237 price = i[price_key]
238 if not price or price is 'free':238 if not price or price == 'free':
239 price = _('Free')239 price = _('Free')
240 anno_icon = Unity.AnnotatedIcon.new(Gio.FileIcon.new(Gio.File.new_for_uri(result_icon)))240 anno_icon = Unity.AnnotatedIcon.new(Gio.FileIcon.new(Gio.File.new_for_uri(result_icon)))
241 anno_icon.props.category = Unity.CategoryType.MOVIE241 anno_icon.props.category = Unity.CategoryType.MOVIE

Subscribers

People subscribed via source and target branches

to all changes: