pidl:Samba4/Python: avoid ';;' in generated C code.
authorStefan Metzmacher <metze@samba.org>
Wed, 5 Jan 2011 09:08:08 +0000 (10:08 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 5 Jan 2011 10:10:34 +0000 (11:10 +0100)
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan  5 11:10:34 CET 2011 on sn-devel-104

pidl/lib/Parse/Pidl/Samba4/Python.pm

index fa18056882cfcf41588d2681cf82c80ff614796d..d6eab12c5c03a7a9d09eefbe43fe428e310ae190 100644 (file)
@@ -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 {