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
1=== modified file 'src/unity-scope-video-remote'
2--- src/unity-scope-video-remote 2012-09-14 10:41:18 +0000
3+++ src/unity-scope-video-remote 2012-09-25 10:45:58 +0000
4@@ -235,7 +235,7 @@
5 price_key = 'formatted_price'
6 if price_key in i:
7 price = i[price_key]
8- if not price or price is 'free':
9+ if not price or price == 'free':
10 price = _('Free')
11 anno_icon = Unity.AnnotatedIcon.new(Gio.FileIcon.new(Gio.File.new_for_uri(result_icon)))
12 anno_icon.props.category = Unity.CategoryType.MOVIE

Subscribers

People subscribed via source and target branches

to all changes: