From d89e7622407539786af72ea05dd1de7de9154228 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 5 Jan 2011 10:08:08 +0100 Subject: pidl:Samba4/Python: avoid ';;' in generated C code. metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Wed Jan 5 11:10:34 CET 2011 on sn-devel-104 --- pidl/lib/Parse/Pidl/Samba4/Python.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pidl/lib/Parse/Pidl/Samba4') 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 { -- cgit