summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-02-10 13:35:44 -0500
committerRob Crittenden <rcritten@redhat.com>2011-02-11 10:37:21 -0500
commiteed1130008282ac6b78a654b72aedfb4e3095d2d (patch)
tree825a61538211652dae4ef6d88b641f10e666fed5 /ipaserver
parent30fdafcfbe81dcd8211e8034a20a2a27389d1652 (diff)
downloadfreeipa-eed1130008282ac6b78a654b72aedfb4e3095d2d.tar.gz
freeipa-eed1130008282ac6b78a654b72aedfb4e3095d2d.tar.xz
freeipa-eed1130008282ac6b78a654b72aedfb4e3095d2d.zip
Don't include error.kw in the error response in the JSON server.
This can include a full exception which cannot be marshalled. This value contains duplicate information and isn't used by the client. ticket 905
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/rpcserver.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ipaserver/rpcserver.py b/ipaserver/rpcserver.py
index 1b188c573..fb86a21e9 100644
--- a/ipaserver/rpcserver.py
+++ b/ipaserver/rpcserver.py
@@ -423,7 +423,6 @@ class jsonserver(WSGIExecutioner):
code=error.errno,
message=error.strerror,
name=error.__class__.__name__,
- kw=dict(error.kw),
)
response = dict(
result=result,