Merge lp:~statik/desktopcouch/prefer-json-simplejson into lp:desktopcouch

Proposed by Elliot Murphy
Status: Merged
Approved by: Elliot Murphy
Approved revision: 137
Merged at revision: not available
Proposed branch: lp:~statik/desktopcouch/prefer-json-simplejson
Merge into: lp:desktopcouch
Diff against target: 12 lines (+1/-1)
1 file modified
desktopcouch/replication_services/ubuntuone.py (+1/-1)
To merge this branch: bzr merge lp:~statik/desktopcouch/prefer-json-simplejson
Reviewer Review Type Date Requested Status
Eric Casteleijn (community) Approve
Rick McBride (community) Approve
Review via email: mp+21093@code.launchpad.net

Commit message

Fix a missed rename of simplejson->json

Description of the change

Fix a missed rename.

To post a comment you must log in.
Revision history for this message
Eric Casteleijn (thisfred) wrote :

Hmm, launchpad says no diff, and merging this into trunk also gives: Nothing to do.

Incidentally, does this means we're making d-c officially python 2.5 incompatible now, or was this a fix the other way? If so, we need to take care to never upgrade beyond this point on the server, as long as we're on hardy there. I'd prefer to not do such breakage before we've abandoned 2.5 everywhere.

review: Needs Information
Revision history for this message
Rick McBride (rmcbride) wrote :

Simple, makes sense.

review: Approve
Revision history for this message
Eric Casteleijn (thisfred) wrote :

ah, ok, never mind, the change just showed up, and this is just a bugfix, ignore my other comments. Tests pass, all good!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'desktopcouch/replication_services/ubuntuone.py'
--- desktopcouch/replication_services/ubuntuone.py 2010-03-10 22:17:31 +0000
+++ desktopcouch/replication_services/ubuntuone.py 2010-03-10 22:43:21 +0000
@@ -111,7 +111,7 @@
111 client = httplib2.Http()111 client = httplib2.Http()
112 resp, content = client.request(url, "GET", headers=self.oauth_header)112 resp, content = client.request(url, "GET", headers=self.oauth_header)
113 if resp['status'] == "200":113 if resp['status'] == "200":
114 document = simplejson.loads(content)114 document = json.loads(content)
115 if "couchdb_root" not in document:115 if "couchdb_root" not in document:
116 raise ValueError("couchdb_root not found in %s" % (document,))116 raise ValueError("couchdb_root not found in %s" % (document,))
117 self.str = document["couchdb_root"]117 self.str = document["couchdb_root"]

Subscribers

People subscribed via source and target branches