[ckan-changes] commit/ckan: 2 new changesets
Bitbucket
commits-noreply at bitbucket.org
Tue Aug 9 13:43:41 UTC 2011
2 new changesets in ckan:
http://bitbucket.org/okfn/ckan/changeset/db5bf5b45b4f/
changeset: db5bf5b45b4f
branch: release-v1.4.3
user: dread
date: 2011-08-09 15:26:38
summary: [lib/base]: #1267 Bugfix for unicode problems doing aborts with versions of WebOb earlier than 1.0.
affected #: 1 file (174 bytes)
--- a/ckan/lib/base.py Mon Aug 08 10:48:10 2011 +0100
+++ b/ckan/lib/base.py Tue Aug 09 14:26:38 2011 +0100
@@ -41,6 +41,9 @@
def abort(status_code=None, detail='', headers=None, comment=None):
if detail:
h.flash_error(detail)
+ # #1267 Convert detail to plain text, since WebOb 0.9.7.1 (which comes
+ # with Lucid) causes an exception when unicode is received.
+ detail = detail.encode('utf8')
return _abort(status_code=status_code,
detail=detail,
headers=headers,
http://bitbucket.org/okfn/ckan/changeset/43259630b521/
changeset: 43259630b521
user: dread
date: 2011-08-09 15:40:25
summary: [merge] from release-v1.4.3.
affected #: 1 file (174 bytes)
--- a/ckan/lib/base.py Mon Aug 08 18:40:21 2011 +0100
+++ b/ckan/lib/base.py Tue Aug 09 14:40:25 2011 +0100
@@ -41,6 +41,9 @@
def abort(status_code=None, detail='', headers=None, comment=None):
if detail:
h.flash_error(detail)
+ # #1267 Convert detail to plain text, since WebOb 0.9.7.1 (which comes
+ # with Lucid) causes an exception when unicode is received.
+ detail = detail.encode('utf8')
return _abort(status_code=status_code,
detail=detail,
headers=headers,
Repository URL: https://bitbucket.org/okfn/ckan/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list