Merge lp:~dobey/ubuntuone-client/http-threaded into lp:ubuntuone-client
Proposed by
dobey
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Tim Cole | ||||||||||||
Approved revision: | 454 | ||||||||||||
Merged at revision: | not available | ||||||||||||
Proposed branch: | lp:~dobey/ubuntuone-client/http-threaded | ||||||||||||
Merge into: | lp:ubuntuone-client | ||||||||||||
Diff against target: |
193 lines (+56/-35) 2 files modified
bin/ubuntuone-preferences (+54/-33) ubuntuone/oauthdesktop/main.py (+2/-2) |
||||||||||||
To merge this branch: | bzr merge lp:~dobey/ubuntuone-client/http-threaded | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Joshua Hoover (community) | ran on lucid | Approve | |
Tim Cole (community) | Approve | ||
Natalia Bidart (community) | Approve | ||
Review via email: mp+22464@code.launchpad.net |
Commit message
Fix the HTTP REST calls to load from threads, instead of GIOChannels
- This avoids blocking the main loop for network activity
Fix the callback handlers for the REST calls to use obj.get method
- Avoids potential KeyError conditions
Fix oauthdesktop to call ensure_access_token in a timeout instead of thread
- Avoids threadlock due to changes in libgnome-keyring
To post a comment you must log in.
There is a lint issue:
== Python Lint Notices ==
./bin/ubuntuone -preferences:
27: 'glib' imported but unused