Merge lp:~mbp/txrestfulclient/trivial into lp:txrestfulclient
Status: | Merged |
---|---|
Merged at revision: | 42 |
Proposed branch: | lp:~mbp/txrestfulclient/trivial |
Merge into: | lp:txrestfulclient |
Diff against target: |
81 lines (+16/-4) 5 files modified
examples/lp_print_me.py (+2/-0) txrestfulclient/__init__.py (+3/-1) txrestfulclient/browser.py (+5/-0) txrestfulclient/launchpad/__init__.py (+4/-1) txrestfulclient/launchpad/credentials.py (+2/-2) |
To merge this branch: | bzr merge lp:~mbp/txrestfulclient/trivial |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby | Approve | ||
Review via email: mp+34944@code.launchpad.net |
Description of the change
On maverick trying to create a new token fails as follows:
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "examples/
service_
File "/usr/lib/
self.result = callback(
File "/home/
credentials
File "/home/
data=
File "/usr/lib/
*args, **kwargs).deferred
File "/usr/lib/
factory = factoryFactory(url, *args, **kwargs)
exceptions.
Perhaps it was renamed in twisted 10.1, or perhaps it never worked?
This fixes a few more things to get lp_print_me working, in particular
52 - credentials. exchange_ request_ token_for_ access_ token(web_ root) exchange_ request_ token_for_ access_ token(web_ root) build_service_ root) root(ignored) : url(service_ root, credentials)
53 + d = credentials.
54 + d.addCallback(
55 + return d
56 + def build_service_
57 return cls.from_
This wasn't actually waiting for exchange_ request_ token_for_ access_ token to run!