summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-05-28 09:13:34 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-05-28 09:13:34 +0200
commitc3d451559a6e02b99a88aaebaaee767620d7f1cc (patch)
treebbd2a9159e0903a66a2988fd11fa33fec09af5ad /bindings
parent73625674113f5bc5e6e18adc0ee218fcab17065f (diff)
downloadlasso-c3d451559a6e02b99a88aaebaaee767620d7f1cc.tar.gz
lasso-c3d451559a6e02b99a88aaebaaee767620d7f1cc.tar.xz
lasso-c3d451559a6e02b99a88aaebaaee767620d7f1cc.zip
bindings/python: fix conversion of unicode value to UTF-8 for setters
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/lang.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/lang.py b/bindings/python/lang.py
index c695518e..f56c731e 100644
--- a/bindings/python/lang.py
+++ b/bindings/python/lang.py
@@ -418,7 +418,7 @@ if WSF_SUPPORT:
print >> fd, ' return t;'
# setter
print >> fd, ' def set_%s(self, value):' % mname
- if is_int(m, self.binding_data) or is_xml_node(m) or is_cstring(m) or is_boolean(m):
+ if is_int(m, self.binding_data) or is_xml_node(m) or is_boolean(m):
pass
elif is_cstring(m):
print >> fd, ' value = str2lasso(value)'