Merge lp://qastaging/~sil/desktopcouch/oauthdata-not-none into lp://qastaging/desktopcouch

Proposed by Stuart Langridge
Status: Merged
Approved by: dobey
Approved revision: 66
Merged at revision: not available
Proposed branch: lp://qastaging/~sil/desktopcouch/oauthdata-not-none
Merge into: lp://qastaging/desktopcouch
Diff against target: None lines
To merge this branch: bzr merge lp://qastaging/~sil/desktopcouch/oauthdata-not-none
Reviewer Review Type Date Requested Status
dobey (community) Approve
Review via email: mp+11956@code.qastaging.launchpad.net

Commit message

Make desktopcouch-pair not throw an error about oauth_data() not being callable on startup

To post a comment you must log in.
Revision history for this message
Stuart Langridge (sil) wrote :

Code calls wrong oauth_data (should call get_oauth_data). Not sure why this wasn't caught in testing.

Revision history for this message
dobey (dobey) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'desktopcouch/replication_services/ubuntuone.py'
2--- desktopcouch/replication_services/ubuntuone.py 2009-09-14 16:54:22 +0000
3+++ desktopcouch/replication_services/ubuntuone.py 2009-09-17 09:58:35 +0000
4@@ -10,7 +10,7 @@
5
6 def is_active():
7 """Can we deliver information?"""
8- return oauth_data() is not None
9+ return get_oauth_data() is not None
10
11 oauth_data = None
12 def get_oauth_data():

Subscribers

People subscribed via source and target branches