git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e45cd1
)
pidl:Samba4/Python: avoid ';;' in generated C code.
author
Stefan Metzmacher
<metze@samba.org>
Wed, 5 Jan 2011 09:08:08 +0000
(10:08 +0100)
committer
Stefan 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
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/Samba4/Python.pm
b/pidl/lib/Parse/Pidl/Samba4/Python.pm
index fa18056882cfcf41588d2681cf82c80ff614796d..d6eab12c5c03a7a9d09eefbe43fe428e310ae190 100644
(file)
--- 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 {