summaryrefslogtreecommitdiff
path: root/pidl/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-01-05 10:08:08 +0100
committerStefan Metzmacher <metze@samba.org>2011-01-05 11:10:34 +0100
commitd89e7622407539786af72ea05dd1de7de9154228 (patch)
tree32419beb9ef6bf979d1de7ccd5264e774d2737d6 /pidl/lib
parent2e45cd15ec4719b87e45db5e4a5c43dc1432936f (diff)
downloadsamba-d89e7622407539786af72ea05dd1de7de9154228.tar.gz
samba-d89e7622407539786af72ea05dd1de7de9154228.tar.bz2
samba-d89e7622407539786af72ea05dd1de7de9154228.zip
pidl:Samba4/Python: avoid ';;' in generated C code.
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 5 11:10:34 CET 2011 on sn-devel-104
Diffstat (limited to 'pidl/lib')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/Python.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm
index fa18056882..d6eab12c5c 100644
--- a/pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm
@@ -1032,7 +1032,7 @@ sub ConvertObjectFromPythonLevel($$$$$$$$)
$self->pidl("} else {");
$self->indent;
$self->pidl("PyErr_Format(PyExc_TypeError, \"Expected string or unicode object, got %s\", Py_TYPE($py_var)->tp_name);");
- $self->pidl("$fail;");
+ $self->pidl("$fail");
$self->deindent;
$self->pidl("}");
} else {